[DEV] better display error

This commit is contained in:
Edouard DUPIN 2018-01-10 16:57:36 +01:00
parent 3cf3cb731f
commit d9fddb10c9

View File

@ -75,7 +75,7 @@ else:
args.tag = 'MacOs';
list_tag = ['Linux', 'MacOs', 'Windows', 'IOs', 'Android', 'Mingw']
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)
# no more limit in build type name ==> TODO: add regex to filter on string only