diff options
author | David Teigland <teigland@redhat.com> | 2015-10-23 10:21:06 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-10-23 10:21:06 -0500 |
commit | 98d81a43ea31ec963a36b8610f3b5a9be28b4cc1 (patch) | |
tree | ce4e771b2852bf25957179fc2c70b904477ed1c7 /tools/commands.h | |
parent | 1a74171ca5682a684d0e05c6090c3d33cab8795b (diff) | |
download | lvm2-98d81a43ea31ec963a36b8610f3b5a9be28b4cc1.tar.gz |
vgextend: fix use of the wrong flag
The ONE_VGNAME_ARG was being passed and tested as
vg_read() flag but it's a cmd struct flag.
(It affects command arg processing in toollib,
not vg_read behavior. Flags related to command
processing are generally cmd struct flags, while
vg_read arg flags are generally related to vg_read
behavior.)
Diffstat (limited to 'tools/commands.h')
-rw-r--r-- | tools/commands.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/commands.h b/tools/commands.h index 92d13fdf0..ae5dff7fd 100644 --- a/tools/commands.h +++ b/tools/commands.h @@ -1211,7 +1211,7 @@ xx(vgexport, xx(vgextend, "Add physical volumes to a volume group", - 0, + ONE_VGNAME_ARG, "vgextend\n" "\t[-A|--autobackup y|n]\n" "\t[--restoremissing]\n" |