We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc1f1c6 commit 5ca2228Copy full SHA for 5ca2228
1 file changed
src/pkgdev/scripts/pkgdev_tatt.py
@@ -54,7 +54,7 @@
54
"-u",
55
"--use-combos",
56
default=0,
57
- type=arghparse.positive_int,
+ type=int,
58
metavar="NUMBER",
59
help="Maximal number USE combinations to be tested",
60
)
@@ -197,6 +197,8 @@ def _tatt_validate(parser, namespace):
197
198
@tatt.bind_final_check
199
def _validate_args(parser, namespace):
200
+ if namespace.use_combos < 0:
201
+ parser.error("number of use combos must be non-negative")
202
if namespace.bug is not None:
203
if namespace.keywording is not None:
204
parser.error("cannot use --bug with --keywording or --stablereq")
0 commit comments