Commit 8133017b authored by Stavros Sachtouris's avatar Stavros Sachtouris Committed by Giorgos Korfiatis

Fix incorrect "--wait" help messages

Some commands carry "--wait" options with their respective help
messages. Some of the messages were referring to the wrong commands
and this is now fixed.
parent d8812e73
......@@ -766,7 +766,7 @@ class server_reboot(_CycladesInit, _ServerWait):
arguments = dict(
type=ValueArgument('SOFT or HARD - default: SOFT', ('--type')),
wait=FlagArgument('Wait server to be destroyed', ('-w', '--wait'))
wait=FlagArgument('Wait server to start again', ('-w', '--wait'))
)
@errors.Generic.all
......@@ -799,7 +799,7 @@ class server_start(_CycladesInit, _ServerWait):
"""Start an existing virtual server"""
arguments = dict(
wait=FlagArgument('Wait server to be destroyed', ('-w', '--wait'))
wait=FlagArgument('Wait server to start', ('-w', '--wait'))
)
@errors.Generic.all
......@@ -821,7 +821,7 @@ class server_shutdown(_CycladesInit, _ServerWait):
"""Shutdown an active virtual server"""
arguments = dict(
wait=FlagArgument('Wait server to be destroyed', ('-w', '--wait'))
wait=FlagArgument('Wait server to shut down', ('-w', '--wait'))
)
@errors.Generic.all
......
......@@ -805,7 +805,7 @@ class ip_detach(_NetworkInit, _PortWait, OptionalOutput):
"""Detach an IP from a virtual server"""
arguments = dict(
wait=FlagArgument('Wait network to disconnect', ('-w', '--wait')),
wait=FlagArgument('Wait until IP is detached', ('-w', '--wait')),
)
@errors.Generic.all
......
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