From aad1add77f242836cbb22640bc20a4a3719f5198 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 22 May 2024 17:15:34 +0200 Subject: [PATCH] command: reorder vals order Keep most frequently used val names in front. --- tools/vals.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/vals.h b/tools/vals.h index bcd56fc70..d8a418c01 100644 --- a/tools/vals.h +++ b/tools/vals.h @@ -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)