Commit 39e7a564 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Cédric de Saint Martin

Introduce --only_sr and --only_cp

 - only_sr filter and force the run of a single SR, and uses url_md5 (folder_id)

 - only_cp filter which computer patition, will be runned. it can be a list,
           splited by comman (slappartX,slappartY ...)
parent e10546ae
......@@ -123,6 +123,20 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
help="Launch slapgrid without delay.")
parser.add_argument("--develop", action="store_true", default=False,
help="Launch slapgrid in develop mode. In develop mode, slapgrid-sr ignores .completed file")
parser.add_argument("--only_sr",
help="Force the update of a single software release (use url hash)," + \
"event if is already installed. This option will make all others " + \
"sofware releases be ignored")
parser.add_argument("--only_cp",
help="Update a single or a list of computer partition (ie.:slappartX, slappartY)," + \
"this option will make all others sofware releases be ignored")
parser.add_argument("--only_sr",
help="Force the update of a single software release (use url hash)," + \
"event if is already installed. This option will make all others " + \
"sofware releases be ignored")
parser.add_argument("--only_cp",
help="Update a single or a list of computer partitions (ie.:slappartX, slappartY)," + \
"this option will make all others computer partitions be ignored")
# Parses arguments
if argument_tuple == ():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment