------------------------------------------------------------ revno: 4100 committer: Andreas Vogel branch nick: 03-menuentry_short_options timestamp: Thu 2012-03-01 22:42:05 +0100 message: * grub-core/commands/menuentry.c: also provide short options for menuentry/submenu command diff: === modified file 'grub-core/commands/menuentry.c' --- grub-core/commands/menuentry.c 2012-03-01 21:40:25 +0000 +++ grub-core/commands/menuentry.c 2012-03-01 21:42:05 +0000 @@ -35,14 +35,14 @@ static const struct grub_arg_option options[] = { - {"class", 1, GRUB_ARG_OPTION_REPEATABLE, + {"class", 'c', GRUB_ARG_OPTION_REPEATABLE, N_("Menu entry type."), N_("STRING"), ARG_TYPE_STRING}, - {"users", 2, 0, + {"users", 'u', 0, N_("List of users allowed to boot this entry."), N_("USERNAME[,USERNAME]"), ARG_TYPE_STRING}, - {"hotkey", 3, 0, + {"hotkey", 'h', 0, N_("Keyboard key to quickly boot this entry."), N_("KEYBOARD_KEY"), ARG_TYPE_STRING}, - {"source", 4, 0, + {"source", 's', 0, N_("Use STRING as menu entry body."), N_("STRING"), ARG_TYPE_STRING}, {0, 0, 0, 0, 0, 0} };