summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2016-06-16 15:49:18 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2016-06-20 11:33:42 +0200
commit28b4c48e2ae66b87bbb5d8fd29b761edba63a90e (patch)
tree142645a45489c7e6519ebd9ab8402d38e270f3c8
parentd23c5b93183675199ff78ff288e4bbd12f935515 (diff)
downloadlvm2-28b4c48e2ae66b87bbb5d8fd29b761edba63a90e.tar.gz
args: add --configreport arg
-rw-r--r--WHATS_NEW1
-rw-r--r--tools/args.h1
-rw-r--r--tools/commands.h3
3 files changed, 4 insertions, 1 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index 626851ee1..8afc57740 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.02.158 -
=================================
+ Add --configreport option to select report for which next options are applied.
Add support for priorities on grouping command arguments.
Add report/{pvs,vgs,lvs,pvsegs,segs}_{cols,sort}_full to lvm.conf.
Add lvm fullreport command for joined PV, VG, LV and segment report per VG.
diff --git a/tools/args.h b/tools/args.h
index 8d6680972..c0e086442 100644
--- a/tools/args.h
+++ b/tools/args.h
@@ -31,6 +31,7 @@ arg(cachemode_ARG, '\0', "cachemode", cachemode_arg, 0, 0)
arg(cachepool_ARG, '\0', "cachepool", string_arg, 0, 0)
arg(commandprofile_ARG, '\0', "commandprofile", string_arg, 0, 0)
arg(config_ARG, '\0', "config", string_arg, 0, 0)
+arg(configreport_ARG, '\0', "configreport", string_arg, ARG_GROUPABLE, 1)
arg(configtype_ARG, '\0', "type", string_arg, 0, 0)
arg(corelog_ARG, '\0', "corelog", NULL, 0, 0)
arg(dataalignment_ARG, '\0', "dataalignment", size_kb_arg, 0, 0)
diff --git a/tools/commands.h b/tools/commands.h
index a9e4be551..3f0fff56b 100644
--- a/tools/commands.h
+++ b/tools/commands.h
@@ -714,6 +714,7 @@ xx(lvs,
"\t[--aligned]\n"
"\t[--binary]\n"
"\t[--commandprofile ProfileName]\n"
+ "\t[--configreport ReportName]\n"
"\t[-d|--debug]\n"
"\t[--foreign]\n"
"\t[-h|--help]\n"
@@ -740,7 +741,7 @@ xx(lvs,
"\t[--version]\n"
"\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
- aligned_ARG, all_ARG, binary_ARG, foreign_ARG, history_ARG,
+ aligned_ARG, all_ARG, binary_ARG, configreport_ARG, foreign_ARG, history_ARG,
ignorelockingfailure_ARG, ignoreskippedcluster_ARG, nameprefixes_ARG,
noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
readonly_ARG, reportformat_ARG, rows_ARG, segments_ARG, select_ARG,