[U-Boot] [PATCH] patman: refactor help message

Masahiro Yamada yamada.m at jp.panasonic.com
Thu Aug 21 07:28:03 CEST 2014


"patman [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/patman/patman.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/patman/patman.py b/tools/patman/patman.py
index ba5dc91..ca34cb9 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."""
-- 
1.9.1



More information about the U-Boot mailing list