]> sourceware.org Git - lvm2.git/commitdiff
command: reorder vals order
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 22 May 2024 15:15:34 +0000 (17:15 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 27 May 2024 13:16:26 +0000 (15:16 +0200)
Keep most frequently used val names in front.

tools/vals.h

index bcd56fc703fa4638c391fb9705056c27ffb128b2..d8a418c017a462d08d8fe30bf79b20d09b7fabf1 100644 (file)
@@ -95,8 +95,6 @@
  */
 
 val(none_VAL, NULL, "None", "ERR")             /* unused, for enum value 0 */
-val(conststr_VAL, NULL, "ConstString", "ERR")  /* used only for command defs */
-val(constnum_VAL, NULL, "ConstNumber", "ERR")  /* used only for command defs */
 val(bool_VAL, yes_no_arg, "Bool", "y|n")
 val(number_VAL, int_arg, "Number", NULL)
 val(snumber_VAL, int_arg_with_sign, "SNumber", "[+|-]Number")
@@ -144,6 +142,8 @@ val(configtype_VAL, configtype_arg, "ConfigType", "current|default|diff|full|lis
 val(repairtype_VAL, repairtype_arg, "RepairType", "pv_header|metadata|label_header")
 val(dumptype_VAL, dumptype_arg, "DumpType", "headers|metadata|metadata_all|metadata_search")
 val(headings_VAL, headings_arg, "HeadingsType", "none|abbrev|full|0|1|2")
+val(conststr_VAL, NULL, "ConstString", "ERR")  /* used only for command defs */
+val(constnum_VAL, NULL, "ConstNumber", "ERR")  /* used only for command defs */
 
 /* this should always be last */
 val(VAL_COUNT, NULL, "", NULL)
This page took 0.037909 seconds and 5 git commands to generate.