[DEV] better display error
This commit is contained in:
parent
3cf3cb731f
commit
d9fddb10c9
@ -75,7 +75,7 @@ else:
|
|||||||
args.tag = 'MacOs';
|
args.tag = 'MacOs';
|
||||||
list_tag = ['Linux', 'MacOs', 'Windows', 'IOs', 'Android', 'Mingw']
|
list_tag = ['Linux', 'MacOs', 'Windows', 'IOs', 'Android', 'Mingw']
|
||||||
if args.tag not in list_tag:
|
if args.tag not in list_tag:
|
||||||
print("[ERROR] (local) set '--tag' parameter: " + str(list_tag))
|
print("[ERROR] (local) set '--tag=" + args.tag + "' parameter not in list: " + str(list_tag))
|
||||||
exit(-2)
|
exit(-2)
|
||||||
|
|
||||||
# no more limit in build type name ==> TODO: add regex to filter on string only
|
# no more limit in build type name ==> TODO: add regex to filter on string only
|
||||||
|
Loading…
x
Reference in New Issue
Block a user