We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4520f8 commit e9f38cdCopy full SHA for e9f38cd
src/pkgdev/scripts/pkgdev_mask.py
@@ -61,9 +61,10 @@
61
mask_opts.add_argument(
62
"-b",
63
"--bug",
64
+ "--bugs",
65
dest="bugs",
- action="append",
66
- type=arghparse.positive_int,
+ action=arghparse.CommaSeparatedValuesAppend,
67
+ default=[],
68
help="reference bug in the mask comment",
69
docs="""
70
Add a reference to a bug in the mask comment. May be specified multiple
@@ -100,6 +101,8 @@ def _mask_validate(parser, namespace):
100
101
atoms = set()
102
maintainers = set()
103
104
+ namespace.bugs = list(map(int, dict.fromkeys(namespace.bugs)))
105
+
106
if not namespace.rites and namespace.file_bug:
107
mask.error("bug filing requires last rites")
108
if namespace.file_bug and not namespace.api_key:
0 commit comments