.. index:: menu (command) .. _command_menu: menu - create and display menus =============================== Synopsis ^^^^^^^^ Manage Menu: Options ^^^^^^^ -m menu -l list -s show -e menu entry -a add -r remove -S select -A auto select delay -d auto select description Description ^^^^^^^^^^^ Advanced menu management: Show menu: menu -s -m MENU [-A delay] [-d auto_display] List menu: menu -l Add a menu: menu -a -m NAME -d DESC Remove a menu: menu -r -m NAME Add an entry: (-R for do no exit the menu after executing the command) (-b for box style 1 for selected) (and optional -c for the command to run when we change the state) menu -e -a -m MENU -c COMMAND [-R] [-b 0|1] -d DESC Add a submenu entry: (-R is not needed) (-b for box style 1 for selected) (and -c is not needed) menu -e -a -m MENU -u submenu -d [-b 0|1] DESC Remove an entry: menu -e -r -m NAME -n ENTRY Select an entry: menu -m