1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

Add -a to pvdisplay -C.

This commit is contained in:
Alasdair Kergon 2005-03-21 14:47:36 +00:00
parent 0aa8e5be94
commit 200ef4db90
3 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,6 @@
Version 2.01.08 - Version 2.01.08 -
================================ ================================
Add -a to pvdisplay -C.
Avoid rmdir opendir error messsages when dir was already removed. Avoid rmdir opendir error messsages when dir was already removed.
Tighten signal handlers. Tighten signal handlers.
Avoid some compiler warnings. Avoid some compiler warnings.

View File

@ -410,6 +410,7 @@ xx(pvdisplay,
"\n" "\n"
"pvdisplay --columns|-C\n" "pvdisplay --columns|-C\n"
"\t[--aligned]\n" "\t[--aligned]\n"
"\t[-a|--all]\n"
"\t[-d|--debug]\n" "\t[-d|--debug]\n"
"\t[-h|--help]\n" "\t[-h|--help]\n"
"\t[--ignorelockingfailure]\n" "\t[--ignorelockingfailure]\n"
@ -424,9 +425,9 @@ xx(pvdisplay,
"\t[--version]" "\n" "\t[--version]" "\n"
"\t[PhysicalVolumePath [PhysicalVolumePath...]]\n", "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n",
aligned_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG, maps_ARG, aligned_ARG, all_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG,
noheadings_ARG, nosuffix_ARG, options_ARG, separator_ARG, short_ARG, maps_ARG, noheadings_ARG, nosuffix_ARG, options_ARG, separator_ARG,
sort_ARG, unbuffered_ARG, units_ARG) short_ARG, sort_ARG, unbuffered_ARG, units_ARG)
xx(pvmove, xx(pvmove,
"Move extents from one physical volume to another", "Move extents from one physical volume to another",

View File

@ -64,6 +64,7 @@ int pvdisplay(struct cmd_context *cmd, int argc, char **argv)
} }
return pvs(cmd, argc, argv); return pvs(cmd, argc, argv);
} else if (arg_count(cmd, aligned_ARG) || } else if (arg_count(cmd, aligned_ARG) ||
arg_count(cmd, all_ARG) ||
arg_count(cmd, noheadings_ARG) || arg_count(cmd, noheadings_ARG) ||
arg_count(cmd, options_ARG) || arg_count(cmd, options_ARG) ||
arg_count(cmd, separator_ARG) || arg_count(cmd, separator_ARG) ||