[U-Boot] [PATCH] buildman: refactor help message
Simon Glass
sjg at chromium.org
Sat Aug 23 04:01:38 CEST 2014
Hi Masahiro,
On 20 August 2014 23:28, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> "buildman [options]" is displayed by default.
>
> Append the rest of help messages to parser.usage
> instead of replacing it.
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> ---
>
> tools/buildman/buildman.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/buildman/buildman.py b/tools/buildman/buildman.py
> index 6ca8dc6..9b0c9a0 100755
> --- a/tools/buildman/buildman.py
> +++ b/tools/buildman/buildman.py
> @@ -118,7 +118,7 @@ parser.add_option('-u', '--show_unknown', action='store_true',
> parser.add_option('-v', '--verbose', action='store_true',
> default=False, help='Show build results while the build progresses')
>
> -parser.usage = """buildman -b <branch> [options]
> +parser.usage += """ -b <branch>
Actually, it's my mistake but the -b argument is now optional. So
perhaps it could be:
> +parser.usage += """ [-b <branch>]
Regards,
Simon
More information about the U-Boot
mailing list