Revision ec79568d lib/cli.py
b/lib/cli.py | ||
---|---|---|
51 | 51 |
"FormatError", "SplitNodeOption", "SubmitOrSend", |
52 | 52 |
"JobSubmittedException", "FormatTimestamp", "ParseTimespec", |
53 | 53 |
"ValidateBeParams", "ToStderr", "ToStdout", "UsesRPC", |
54 |
"GetOnlineNodes", "JobExecutor", |
|
54 |
"GetOnlineNodes", "JobExecutor", "SYNC_OPT",
|
|
55 | 55 |
] |
56 | 56 |
|
57 | 57 |
|
... | ... | |
190 | 190 |
help="Submit the job and return the job ID, but" |
191 | 191 |
" don't wait for the job to finish") |
192 | 192 |
|
193 |
SYNC_OPT = make_option("--sync", dest="do_locking", |
|
194 |
default=False, action="store_true", |
|
195 |
help="Grab locks while doing the queries" |
|
196 |
" in order to ensure more consistent results") |
|
197 |
|
|
193 | 198 |
|
194 | 199 |
def ARGS_FIXED(val): |
195 | 200 |
"""Macro-like function denoting a fixed number of arguments""" |
Also available in: Unified diff