summaryrefslogtreecommitdiffstats
path: root/tools/args.h
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2003-04-02 19:14:43 +0000
committerAlasdair Kergon <agk@redhat.com>2003-04-02 19:14:43 +0000
commit27f364af959c08b0f6e8973d1f82cafc23fbba11 (patch)
tree4fefd33b72baa53d1338a87ba8b525322297f2a6 /tools/args.h
parent34e0f798e36a3a0e1fb0f1256d16f59e690b7da5 (diff)
downloadlvm2-27f364af959c08b0f6e8973d1f82cafc23fbba11.tar.gz
lvm2-27f364af959c08b0f6e8973d1f82cafc23fbba11.tar.xz
lvm2-27f364af959c08b0f6e8973d1f82cafc23fbba11.zip
Allow for specification of major number as well as minor.
Diffstat (limited to 'tools/args.h')
-rw-r--r--tools/args.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/args.h b/tools/args.h
index 32631901..df6c4660 100644
--- a/tools/args.h
+++ b/tools/args.h
@@ -8,6 +8,7 @@
* Put all long args that don't have a
* corresponding short option first ...
*/
+/* *INDENT-OFF* */
arg(version_ARG, '\0', "version", NULL)
arg(quiet_ARG, '\0', "quiet", NULL)
arg(physicalvolumesize_ARG, '\0', "setphysicalvolumesize", size_mb_arg)
@@ -61,6 +62,7 @@ arg(list_ARG, 'l', "list", NULL)
arg(size_ARG, 'L', "size", size_mb_arg)
arg(logicalextent_ARG, 'L', "logicalextent", int_arg_with_sign)
arg(persistent_ARG, 'M', "persistent", yes_no_arg)
+arg(major_ARG, 'j', "major", major_arg)
arg(metadatatype_ARG, 'M', "metadatatype", metadatatype_arg)
arg(minor_ARG, 'm', "minor", minor_arg)
arg(maps_ARG, 'm', "maps", NULL)
@@ -94,3 +96,4 @@ arg(zero_ARG, 'Z', "zero", yes_no_arg)
/* this should always be last */
arg(ARG_COUNT, '-', "", NULL)
+/* *INDENT-ON* */