summaryrefslogtreecommitdiff
path: root/WHATS_NEW
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2022-08-16 16:56:06 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2022-08-17 10:47:24 +0200
commitb4cc28c2ef72ee022c1a03819927e31775c18676 (patch)
tree2d027a817b5a26e53ce32e97dd8cdb9f835568af /WHATS_NEW
parent81839cc4ebf566ea9f3e6d819c7338b98cdec374 (diff)
downloadlvm2-b4cc28c2ef72ee022c1a03819927e31775c18676.tar.gz
lvmconfig: add --valuesonly option
The new --valuesonly option causes the lvmconfig output to contain only values without keys for each config node. This is practical mainly in case where we use lvmconfig in scripts and we want to assign the value to a different custom key or simply output the value itself without the key. For example: # lvmconfig --type full activation/raid_fault_policy raid_fault_policy="warn" # lvmconfig --type full activation/raid_fault_policy --valuesonly "warn" # my_var=$(lvmconfig --type full activation/raid_fault_policy --valuesonly) # echo $my_var "warn"
Diffstat (limited to 'WHATS_NEW')
-rw-r--r--WHATS_NEW1
1 files changed, 1 insertions, 0 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index 6cd53553b..6e9a3fa1d 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.03.17 -
===============================
+ Add --valuesonly option to lvmconfig to print only values without keys.
Updates configure with recent autoconf tooling.
Fix lvconvert --test --type vdo-pool execution.
Add json_std output format for more JSON standard compliant version of output.