diff --git a/ChangeLog b/ChangeLog index 736f007ef..57d7dfb3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-03-04 Vladimir Serbinenko + + * grub-core/commands/menuentry.c (options): Remove + GRUB_ARG_OPTION_REPEATABLE. + Reported by: Andreas Vogel + 2012-03-04 Andreas Vogel * grub-core/normal/main.c (grub_normal_free_menu): Fix memory leak. diff --git a/grub-core/commands/menuentry.c b/grub-core/commands/menuentry.c index a4e498a95..6999123ce 100644 --- a/grub-core/commands/menuentry.c +++ b/grub-core/commands/menuentry.c @@ -36,8 +36,7 @@ static const struct grub_arg_option options[] = N_("Keyboard key to quickly boot this entry."), N_("KEYBOARD_KEY"), ARG_TYPE_STRING}, {"source", 4, 0, N_("Use STRING as menu entry body."), N_("STRING"), ARG_TYPE_STRING}, - {"id", 1, GRUB_ARG_OPTION_REPEATABLE, - N_("Menu entry identifier."), N_("STRING"), ARG_TYPE_STRING}, + {"id", 0, 0, N_("Menu entry identifier."), N_("STRING"), ARG_TYPE_STRING}, {0, 0, 0, 0, 0, 0} };