diff options
author | David Teigland <teigland@redhat.com> | 2017-02-06 16:10:09 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2017-02-10 16:45:33 -0600 |
commit | fd35a48d05f586bfc65c17210de3c1e3fc05e956 (patch) | |
tree | 9427c4c3c27584727bed5e7d5fe55a2967d84335 | |
parent | a1947978da24fbe16c5da33959f46f07840d5f48 (diff) | |
download | lvm2-fd35a48d05f586bfc65c17210de3c1e3fc05e956.tar.gz |
vgchange: fix uint32 parsing of logicalvolume arg
-rw-r--r-- | tools/args.h | 4 | ||||
-rw-r--r-- | tools/command-lines.in | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tools/args.h b/tools/args.h index 1d7d6f7fa..a481bc523 100644 --- a/tools/args.h +++ b/tools/args.h @@ -964,10 +964,10 @@ arg(stripesize_ARG, 'I', "stripesize", sizekb_VAL, 0, 0, "The amount of data that is written to one device before\n" "moving to the next in a striped LV.\n") -arg(logicalvolume_ARG, 'l', "logicalvolume", number_VAL, 0, 0, +arg(logicalvolume_ARG, 'l', "logicalvolume", uint32_VAL, 0, 0, "Sets the maximum number of LVs allowed in a VG.\n") -arg(maxlogicalvolumes_ARG, 'l', "maxlogicalvolumes", number_VAL, 0, 0, +arg(maxlogicalvolumes_ARG, 'l', "maxlogicalvolumes", uint32_VAL, 0, 0, "Sets the maximum number of LVs allowed in a VG.\n") arg(extents_ARG, 'l', "extents", numsignedper_VAL, 0, 0, diff --git a/tools/command-lines.in b/tools/command-lines.in index 30573f452..ca5259feb 100644 --- a/tools/command-lines.in +++ b/tools/command-lines.in @@ -1339,7 +1339,7 @@ OO_VGCHANGE: --autobackup Bool, --ignoremonitoring, --ignoreskippedcluster, # because it can function as a required opt. OO_VGCHANGE_META: --addtag Tag, --deltag Tag, ---logicalvolume Number, --maxphysicalvolumes Uint32, --alloc Alloc, --uuid, +--logicalvolume Uint32, --maxphysicalvolumes Uint32, --alloc Alloc, --uuid, --clustered Bool, --pvmetadatacopies MetadataCopiesPV, --vgmetadatacopies MetadataCopiesVG, --physicalextentsize SizeMB, --resizeable Bool, --systemid String, --locktype LockType, --profile String, --detachprofile, --metadataprofile String @@ -1405,7 +1405,7 @@ ID: vgconvert_general --- vgcreate VG_new PV ... -OO: --addtag Tag, --alloc Alloc, --autobackup Bool, --clustered Bool, --maxlogicalvolumes Number, +OO: --addtag Tag, --alloc Alloc, --autobackup Bool, --clustered Bool, --maxlogicalvolumes Uint32, --maxphysicalvolumes Uint32, --metadataprofile String, --metadatatype MetadataType, --physicalextentsize SizeMB, --force, --zero Bool, --labelsector Number, --metadatasize SizeMB, --pvmetadatacopies MetadataCopiesPV, --vgmetadatacopies MetadataCopiesVG, @@ -1539,7 +1539,7 @@ OO_VGSPLIT: --autobackup Bool # used only when the destination VG is new OO_VGSPLIT_NEW: --alloc Alloc, --clustered Bool, ---maxlogicalvolumes Number, --maxphysicalvolumes Uint32, +--maxlogicalvolumes Uint32, --maxphysicalvolumes Uint32, --metadatatype MetadataType, --vgmetadatacopies MetadataCopiesVG vgsplit VG VG PV ... |