From e112f5ce05792885ffa5082d7073b139fe468149 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Tue, 1 Mar 2016 15:23:34 +0100 Subject: [PATCH] commands: lvs: recognize -H|--history switch When lvs command is used together with the -H|--history switch, all historical LVs are reported as well. --- tools/commands.h | 12 +++++++----- 1 file 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",