compute: Better help text for 'openstack server set --state'
Manually changing the server state is a potentially dangerous operation that should only be done under limited circumstances. It's also an admin-only operation by default. Highlight both points. Change-Id: Ifd8aec94937764202131ba8caf6b507caa76d7e9 Signed-off-by: Stephen Finucane <sfinucan@redhat.com> Story: 2008549 Task: 41672
This commit is contained in:
parent
fa8c8d26a7
commit
13de349411
@ -4023,7 +4023,12 @@ class SetServer(command.Command):
|
||||
'--state',
|
||||
metavar='<state>',
|
||||
choices=['active', 'error'],
|
||||
help=_('New server state (valid value: active, error)'),
|
||||
help=_(
|
||||
'New server state '
|
||||
'**WARNING** This can result in instances that are no longer '
|
||||
'usable and should be used with caution '
|
||||
'(admin only)'
|
||||
),
|
||||
)
|
||||
parser.add_argument(
|
||||
'--description',
|
||||
|
Loading…
x
Reference in New Issue
Block a user