diff options
-rw-r--r-- | include/osmocom/vty/command.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h index 13d6e89d..d63dbdef 100644 --- a/include/osmocom/vty/command.h +++ b/include/osmocom/vty/command.h @@ -132,9 +132,10 @@ struct cmd_node { char name[64]; }; +/*! Attributes (flags) for \ref cmd_element */ enum { - CMD_ATTR_DEPRECATED = 1, - CMD_ATTR_HIDDEN, + CMD_ATTR_DEPRECATED = (1 << 0), + CMD_ATTR_HIDDEN = (1 << 1), }; /*! Structure of a command element */ |