Skip to content
Snippets Groups Projects
Commit edeb878a authored by Iustin Pop's avatar Iustin Pop
Browse files

Move the “--no-start” option to cli.py


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent f36d7d81
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,7 @@ __all__ = [
"NOIPCHECK_OPT",
"NONICS_OPT",
"NONLIVE_OPT",
"NOSTART_OPT",
"NWSYNC_OPT",
"OS_OPT",
"OS_SIZE_OPT",
......@@ -592,6 +593,10 @@ SINGLE_NODE_OPT = cli_option("-n", "--node", dest="node", help="Target node",
metavar="<node>",
completion_suggest=OPT_COMPL_ONE_NODE)
NOSTART_OPT = cli_option("--no-start", dest="start", default=True,
action="store_false",
help="Don't start the instance after creation")
def _ParseArgs(argv, commands, aliases):
"""Parser for the command line arguments.
......
......@@ -1367,9 +1367,7 @@ add_opts = [
NET_OPT,
NONICS_OPT,
NWSYNC_OPT,
cli_option("--no-start", dest="start", default=True,
action="store_false", help="Don't start the instance after"
" creation"),
NOSTART_OPT,
NOIPCHECK_OPT,
FILESTORE_DIR_OPT,
FILESTORE_DRIVER_OPT,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment