mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Juergen Beisert <jbe@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: Make some help comments less confusing
Date: Thu, 18 Mar 2010 08:11:36 +0100	[thread overview]
Message-ID: <20100318071136.GH19843@pengutronix.de> (raw)
In-Reply-To: <201003171404.46508.jbe@pengutronix.de>


applied to -master.

Sascha

On Wed, Mar 17, 2010 at 02:04:45PM +0100, Juergen Beisert wrote:
> Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
> 
> ---
>  commands/nand.c         |    2 +-
>  drivers/nand/nand_imx.c |    6 ++++--
>  2 files changed, 5 insertions(+), 3 deletions(-)
> 
> Index: barebox-2010.03.0/commands/nand.c
> ===================================================================
> --- barebox-2010.03.0.orig/commands/nand.c
> +++ barebox-2010.03.0/commands/nand.c
> @@ -363,6 +363,6 @@ static const __maybe_unused char cmd_nan
>  
>  BAREBOX_CMD_START(nand)
>  	.cmd		= do_nand,
> -	.usage		= "",
> +	.usage		= "NAND specific handling",
>  	BAREBOX_CMD_HELP(cmd_nand_help)
>  BAREBOX_CMD_END
> Index: barebox-2010.03.0/drivers/nand/nand_imx.c
> ===================================================================
> --- barebox-2010.03.0.orig/drivers/nand/nand_imx.c
> +++ barebox-2010.03.0/drivers/nand/nand_imx.c
> @@ -1166,11 +1166,13 @@ static int do_nand_boot_test(struct comm
>  }
>  
>  static const __maybe_unused char cmd_nand_boot_test_help[] =
> -"Usage: nand_boot_test <dest> <size>\n";
> +"Usage: nand_boot_test <dest> <size>\n"
> +"This command loads the booloader from the NAND memory like the reset\n"
> +"routine does. Its intended for development tests only";
>  
>  BAREBOX_CMD_START(nand_boot_test)
>  	.cmd		= do_nand_boot_test,
> -	.usage		= "list a file or directory",
> +	.usage		= "load bootloader from NAND",
>  	BAREBOX_CMD_HELP(cmd_nand_boot_test_help)
>  BAREBOX_CMD_END
>  #endif
> 
> -- 
> Pengutronix e.K.                              | Juergen Beisert             |
> Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
> Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
> Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2010-03-18  7:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-17 13:04 Juergen Beisert
2010-03-18  7:11 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100318071136.GH19843@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=jbe@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox