[menu] Add "--default" option to "choose" command

Suggested-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-04-28 23:18:55 +01:00
parent f8bb40b002
commit 838a76a042
3 changed files with 16 additions and 7 deletions

View File

@@ -44,6 +44,6 @@ extern struct menu_item * add_menu_item ( struct menu *menu, const char *label,
extern void destroy_menu ( struct menu *menu );
extern struct menu * find_menu ( const char *name );
extern int show_menu ( struct menu *menu, unsigned int timeout_ms,
struct menu_item **selected );
const char *select, struct menu_item **selected );
#endif /* _IPXE_MENU_H */