diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2022-10-13 13:47:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-13 13:47:04 -0400 |
| commit | e3e3d729c42505910e0b396899bfd50e2d7b2404 (patch) | |
| tree | fa49a9c2839a88ef7ec339b76e0fe99913c818c9 /lib/command_graph.h | |
| parent | fd30c2467a9a3afc615923af64f5de91937d268f (diff) | |
| parent | d40aee771f40b72356eb57d4c9d7bfc2622d9577 (diff) | |
Merge pull request #12066 from opensourcerouting/cleanup-cli-xref
*: clean up various CLI-related bits
Diffstat (limited to 'lib/command_graph.h')
| -rw-r--r-- | lib/command_graph.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/command_graph.h b/lib/command_graph.h index ed4da6aa4c..b8c7a9c72c 100644 --- a/lib/command_graph.h +++ b/lib/command_graph.h @@ -73,10 +73,11 @@ enum cmd_token_type { #define IS_VARYING_TOKEN(x) ((x) >= VARIABLE_TKN && (x) < FORK_TKN) /* Command attributes */ -enum { CMD_ATTR_NORMAL, - CMD_ATTR_DEPRECATED, - CMD_ATTR_HIDDEN, - CMD_ATTR_YANG, +enum { + CMD_ATTR_YANG = (1 << 0), + CMD_ATTR_HIDDEN = (1 << 1), + CMD_ATTR_DEPRECATED = (1 << 2), + CMD_ATTR_NOSH = (1 << 3), }; enum varname_src { |
