diff options
author | David Teigland <teigland@redhat.com> | 2015-12-01 15:50:14 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-12-01 15:50:14 -0600 |
commit | 61573bd1972702f1066c3df5543acc47e9e35da8 (patch) | |
tree | 91f9631a1944d627ca6435c621ff0570dcf0388a /tools/commands.h | |
parent | 166adf0e1fb01f0557a068086a73d9d40f9e5652 (diff) | |
download | lvm2-61573bd1972702f1066c3df5543acc47e9e35da8.tar.gz |
toollib: only interpret vgname arg as uuid for vgrenamedev-dct-process-each-2
In general, --select should be used to specify a VG by UUID,
but vgrename already allows a uuid to be substituted for
the name, so continue to allow it in that case.
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 5770bf3ee..8c5162b2e 100644 --- a/tools/commands.h +++ b/tools/commands.h @@ -1323,7 +1323,7 @@ xx(vgremove, xx(vgrename, "Rename a volume group", - 0, + ALLOW_UUID_AS_NAME, "vgrename\n" "\t[-A|--autobackup y|n]\n" "\t[--commandprofile ProfileName]\n" |