Revision fdcf4d84 lib/cli.py
b/lib/cli.py | ||
---|---|---|
72 | 72 |
"OS_OPT", |
73 | 73 |
"OS_SIZE_OPT", |
74 | 74 |
"SEP_OPT", |
75 |
"SHOWCMD_OPT", |
|
75 | 76 |
"SINGLE_NODE_OPT", |
76 | 77 |
"SUBMIT_OPT", |
77 | 78 |
"SYNC_OPT", |
... | ... | |
597 | 598 |
action="store_false", |
598 | 599 |
help="Don't start the instance after creation") |
599 | 600 |
|
601 |
SHOWCMD_OPT = cli_option("--show-cmd", dest="show_command", |
|
602 |
action="store_true", default=False, |
|
603 |
help="Show command instead of executing it") |
|
604 |
|
|
600 | 605 |
|
601 | 606 |
def _ParseArgs(argv, commands, aliases): |
602 | 607 |
"""Parser for the command line arguments. |
Also available in: Unified diff