summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2016-03-01 15:23:34 +0100
committerPeter Rajnoha <prajnoha@redhat.com>2016-03-03 13:49:14 +0100
commite112f5ce05792885ffa5082d7073b139fe468149 (patch)
tree8c22dbbc44c96319a557cc71eb799c2c8458d729
parent28f96d5ab617cc41b8aab66c7cb19d750d68d2fd (diff)
downloadlvm2-e112f5ce05792885ffa5082d7073b139fe468149.tar.gz
commands: lvs: recognize -H|--history switch
When lvs command is used together with the -H|--history switch, all historical LVs are reported as well.
-rw-r--r--tools/commands.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/tools/commands.h b/tools/commands.h
index 25784bfd9..ffc15b5b5 100644
--- a/tools/commands.h
+++ b/tools/commands.h
@@ -663,6 +663,7 @@ xx(lvs,
"\t[-d|--debug]\n"
"\t[--foreign]\n"
"\t[-h|--help]\n"
+ "\t[-H|--history]\n"
"\t[--ignorelockingfailure]\n"
"\t[--ignoreskippedcluster]\n"
"\t[--nameprefixes]\n"
@@ -684,11 +685,12 @@ xx(lvs,
"\t[--version]\n"
"\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
- aligned_ARG, all_ARG, binary_ARG, foreign_ARG, ignorelockingfailure_ARG,
- ignoreskippedcluster_ARG, nameprefixes_ARG, noheadings_ARG,
- nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
- readonly_ARG, rows_ARG, segments_ARG, select_ARG, separator_ARG, shared_ARG,
- sort_ARG, trustcache_ARG, unbuffered_ARG, units_ARG, unquoted_ARG)
+ aligned_ARG, all_ARG, binary_ARG, foreign_ARG, history_ARG,
+ ignorelockingfailure_ARG, ignoreskippedcluster_ARG, nameprefixes_ARG,
+ noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
+ readonly_ARG, rows_ARG, segments_ARG, select_ARG, separator_ARG,
+ shared_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG, units_ARG,
+ unquoted_ARG)
xx(lvscan,
"List all logical volumes in all volume groups",