diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-14 19:11:04 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-14 19:11:04 +0200 |
commit | 54f7424b78d8c3032e05d3f4d68e7ebf3bf92200 (patch) | |
tree | 2683db641b081a839eddd106542bc8d7a698a66b /openbsc/include/openbsc/vty.h | |
parent | 93e90207f90ec5c5a022501d2c1a45fa5b398662 (diff) |
[VTY] Introduce "end" command that works from any level in config
Using "end" you can always return to the "enable" level, and from
there the "show" commands are available. So no more need for
exit/exit/exit/exit/disable.
Diffstat (limited to 'openbsc/include/openbsc/vty.h')
-rw-r--r-- | openbsc/include/openbsc/vty.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/vty.h b/openbsc/include/openbsc/vty.h index c6fc203fd..1b6758940 100644 --- a/openbsc/include/openbsc/vty.h +++ b/openbsc/include/openbsc/vty.h @@ -15,5 +15,6 @@ struct buffer *vty_argv_to_buffer(int argc, const char *argv[], int base); extern struct cmd_element cfg_description_cmd; extern struct cmd_element cfg_no_description_cmd; extern struct cmd_element ournode_exit_cmd; +extern struct cmd_element ournode_end_cmd; #endif |