[PATCH 2/2] menu: add support for disable entry

Sascha Hauer s.hauer at pengutronix.de
Tue May 29 04:35:06 EDT 2012


On Sun, May 27, 2012 at 03:57:13PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
>  .../arm/boards/at91sam9m10g45ek/env/bin/boot_board |    2 +
>  commands/menu.c                                    |   15 +++++-
>  common/menu.c                                      |   44 +++++++++++++------
>  include/menu.h                                     |    1 +
>  4 files changed, 45 insertions(+), 17 deletions(-)
> 
> @@ -450,6 +458,7 @@ static const __maybe_unused char cmd_menu_help[] =
>  "Add an entry\n"
>  "  (-R for do no exit the menu after executing the command)\n"
>  "  (-b for box style 1 for selected)\n"
> +"  (-D for disabel style command is not needed)\n"

s/disabel/disable/

Better talk about comment lines instead? If I understand this patch
correctly that's what it does.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list