From 8152e4a99ee075c84fab9ec46485b798a1a6525d Mon Sep 17 00:00:00 2001 From: David Teigland Date: Mon, 6 Feb 2017 16:10:09 -0600 Subject: [PATCH] vgchange: fix uint32 parsing of logicalvolume arg --- tools/args.h | 4 ++-- 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 ...