diff options
author | 2016-02-21 23:17:38 +0100 | |
---|---|---|
committer | 2016-02-21 23:17:38 +0100 | |
commit | 5c05c90269bf3c8c4b70d4ed9c5c3b70227a5779 (patch) | |
tree | 2bb487a09ca1abb3f582f4a52401f072674b995c | |
parent | Add support for GLEP 67 maintainer type (bug #573136) (diff) | |
download | metagen-5c05c90269bf3c8c4b70d4ed9c5c3b70227a5779.tar.gz metagen-5c05c90269bf3c8c4b70d4ed9c5c3b70227a5779.tar.bz2 metagen-5c05c90269bf3c8c4b70d4ed9c5c3b70227a5779.zip |
Shorten MAINTAINER_TYPE to TYPE in --help output
-rwxr-xr-x | metagen/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |