summaryrefslogtreecommitdiffstats
path: root/utils/create-jobs.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/create-jobs.py')
-rwxr-xr-xutils/create-jobs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/create-jobs.py b/utils/create-jobs.py
index 5a146c4..83ee922 100755
--- a/utils/create-jobs.py
+++ b/utils/create-jobs.py
@@ -49,6 +49,9 @@ def parse_cmdline(machines, tests, rfs_types):
args = parser.parse_args()
+ if (bool(args.callback_from) ^ bool(args.callback_to)):
+ parser.error("To specify callbacks both '--callback-to' and '--callback-from' are mandatory.")
+
if (args.url == 'release'):
if (args.url_branch is None) and (args.url_version is None):
args.url = 'default'