aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/vty.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-14 19:11:04 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-14 19:11:04 +0200
commit54f7424b78d8c3032e05d3f4d68e7ebf3bf92200 (patch)
tree2683db641b081a839eddd106542bc8d7a698a66b /openbsc/include/openbsc/vty.h
parent93e90207f90ec5c5a022501d2c1a45fa5b398662 (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.h1
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