aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-11-17 16:22:44 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-11-17 16:23:11 +0700
commit7031ac1dd23592470338ff0fcf7cb52617492e39 (patch)
treee79cc208b41cdecab4c83e859a8691ea9777582e /include/osmocom/vty
parentaa718462bf6ff3e741cefd144775476c837dc0af (diff)
vty/command: add 'hidden only' VTY reference generation mode
Diffstat (limited to 'include/osmocom/vty')
-rw-r--r--include/osmocom/vty/command.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h
index b6088482..add57e22 100644
--- a/include/osmocom/vty/command.h
+++ b/include/osmocom/vty/command.h
@@ -464,6 +464,8 @@ enum vty_ref_gen_mode {
VTY_REF_GEN_MODE_DEFAULT = 0,
/*! Expert mode: all commands including hidden, excluding deprecated. */
VTY_REF_GEN_MODE_EXPERT,
+ /*! "Inverse" mode: only hidden commands. */
+ VTY_REF_GEN_MODE_HIDDEN,
};
extern const struct value_string vty_ref_gen_mode_names[];