buildman: refactor help message

"buildman [options]" is displayed by default.

Append the rest of help messages to parser.usage
instead of replacing it.

Besides, "-b <branch>" is not mandatory since commit fea5858e.
Drop it from the usage.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
Masahiro Yamada 2014-08-22 19:12:41 +09:00 committed by Tom Rini
parent 23f78aeff4
commit 7f6b8315d1

View File

@ -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 += """
Build U-Boot for all commits in a branch. Use -n to do a dry run"""