From 54f7424b78d8c3032e05d3f4d68e7ebf3bf92200 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 14 May 2010 19:11:04 +0200 Subject: [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. --- openbsc/include/openbsc/vty.h | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/include') 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 -- cgit v1.2.3