summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2015-08-17 15:36:47 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2016-02-03 17:40:31 +0100
commitfc1ab4b831cf064cc3a564eb95cf39193993d7a0 (patch)
treeca590703b5d3d03e9d886fe70be99d7e4d1687cc
parent292c16a507f77c70074726baba45b7d35d4fd72a (diff)
downloadlvm2-fc1ab4b831cf064cc3a564eb95cf39193993d7a0.tar.gz
commands: lvs: recognize -r|--removed switch
When lvs command is used together with the -r|--removed switch, all the dead LVs are reported as well.
-rw-r--r--tools/commands.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/commands.h b/tools/commands.h
index 651852d11..a0468577b 100644
--- a/tools/commands.h
+++ b/tools/commands.h
@@ -672,6 +672,7 @@ xx(lvs,
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
"\t[-P|--partial]\n"
"\t[--readonly]\n"
+ "\t[-r|--removed]\n"
"\t[--rows]\n"
"\t[--segments]\n"
"\t[-S|--select Selection]\n"
@@ -687,8 +688,9 @@ xx(lvs,
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)
+ readonly_ARG, removed_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",