From: Masahiro Yamada Date: Thu, 21 Aug 2014 05:28:03 +0000 (+0900) Subject: patman: refactor help message X-Git-Tag: v2014.10-rc2~89 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e0a4d06af2acf1895231fb60a610fe97eaf5d3fc;p=u-boot patman: refactor help message "patman [options]" is displayed by default. Append the rest of help messages to parser.usage instead of replacing it. Signed-off-by: Masahiro Yamada --- diff --git a/tools/patman/patman.py b/tools/patman/patman.py index ba5dc91315..ca34cb9fd8 100755 --- a/tools/patman/patman.py +++ b/tools/patman/patman.py @@ -58,7 +58,7 @@ parser.add_option('--no-check', action='store_false', dest='check_patch', parser.add_option('--no-tags', action='store_false', dest='process_tags', default=True, help="Don't process subject tags as aliaes") -parser.usage = """patman [options] +parser.usage += """ Create patches from commits in a branch, check them and email them as specified by tags you place in the commits. Use -n to do a dry run first."""