1 |
commit: 5c05c90269bf3c8c4b70d4ed9c5c3b70227a5779 |
2 |
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org> |
3 |
AuthorDate: Sun Feb 21 22:17:38 2016 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 21 22:17:38 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/metagen.git/commit/?id=5c05c902 |
7 |
|
8 |
Shorten MAINTAINER_TYPE to TYPE in --help output |
9 |
|
10 |
metagen/main.py | 3 ++- |
11 |
1 file changed, 2 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/metagen/main.py b/metagen/main.py |
14 |
index 1e30a20..a190733 100755 |
15 |
--- a/metagen/main.py |
16 |
+++ b/metagen/main.py |
17 |
@@ -145,7 +145,8 @@ if __name__ == '__main__': |
18 |
"This is a shortcut for -e <email> -n <name>") |
19 |
maintainer.add_argument("--desc", "-d", action="store", |
20 |
help="Description of maintainership") |
21 |
- maintainer.add_argument("--type", "-t", dest='maintainer_type', type=_check_maintainer_type_list, |
22 |
+ maintainer.add_argument("--type", "-t", dest='maintainer_type', metavar='TYPE', |
23 |
+ type=_check_maintainer_type_list, |
24 |
help="Maintainer type as of GLEP 67; valid values are: %s" \ |
25 |
% ', '.join('"%s"' % e for e in _VALID_MAINTAINER_TYPES)) |