Skip to content

Commit 25005b5

Browse files
author
Alan Christie
committed
Prevents --wipe and --keep-results
1 parent 9764307 commit 25005b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jote/jote.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,8 @@ def main() -> None:
450450
arg_parser.error('--test requires --job')
451451
if args.job and args.collection is None:
452452
arg_parser.error('--job requires --collection')
453+
if args.wipe and args.keep_results:
454+
arg_parser.error('Cannot use --wipe and --keep-results')
453455

454456
# Args are OK if we get here.
455457
total_fail_count: int = 0

0 commit comments

Comments
 (0)