commit:     5c05c90269bf3c8c4b70d4ed9c5c3b70227a5779
Author:     Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun Feb 21 22:17:38 2016 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Feb 21 22:17:38 2016 +0000
URL:        https://gitweb.gentoo.org/proj/metagen.git/commit/?id=5c05c902

Shorten MAINTAINER_TYPE to TYPE in --help output

 metagen/main.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/metagen/main.py b/metagen/main.py
index 1e30a20..a190733 100755
--- a/metagen/main.py
+++ b/metagen/main.py
@@ -145,7 +145,8 @@ if __name__ == '__main__':
                          "This is a shortcut for -e <email> -n <name>")
     maintainer.add_argument("--desc", "-d", action="store",
                          help="Description of maintainership")
-    maintainer.add_argument("--type", "-t", dest='maintainer_type', 
type=_check_maintainer_type_list,
+    maintainer.add_argument("--type", "-t", dest='maintainer_type', 
metavar='TYPE',
+                         type=_check_maintainer_type_list,
                          help="Maintainer type as of GLEP 67; valid values 
are: %s" \
                              % ', '.join('"%s"' % e for e in 
_VALID_MAINTAINER_TYPES))
 

Reply via email to