Added current status set

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2021-02-19 23:10:20 +00:00
parent fda27979ef
commit d3ea1155d6

View file

@ -45,7 +45,9 @@ while i < argc:
print(" - pending")
print(" - skip")
print(" - rebuild")
print(" - started")
print(" - done")
print(" - packaged")
print("OPTIONS")
print(" , --host Manager host")
print(" , --port Manager port")
@ -60,7 +62,7 @@ while i < argc:
first = 2
tile = match.group(0)
elif first == 2:
match = re.match(r"(done|pending|rebuild|skip|packaged)", sys.argv[i])
match = re.match(r"(done|pending|rebuild|skip|packaged|started)", sys.argv[i])
if match == None:
print("ERROR: Invalid status " + sys.argv[i])
sys.exit(1)