Added current status set
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
fda27979ef
commit
d3ea1155d6
1 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,9 @@ while i < argc:
|
||||||
print(" - pending")
|
print(" - pending")
|
||||||
print(" - skip")
|
print(" - skip")
|
||||||
print(" - rebuild")
|
print(" - rebuild")
|
||||||
|
print(" - started")
|
||||||
print(" - done")
|
print(" - done")
|
||||||
|
print(" - packaged")
|
||||||
print("OPTIONS")
|
print("OPTIONS")
|
||||||
print(" , --host Manager host")
|
print(" , --host Manager host")
|
||||||
print(" , --port Manager port")
|
print(" , --port Manager port")
|
||||||
|
@ -60,7 +62,7 @@ while i < argc:
|
||||||
first = 2
|
first = 2
|
||||||
tile = match.group(0)
|
tile = match.group(0)
|
||||||
elif first == 2:
|
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:
|
if match == None:
|
||||||
print("ERROR: Invalid status " + sys.argv[i])
|
print("ERROR: Invalid status " + sys.argv[i])
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in a new issue