compute: Update 'server resize --revert', '--confirm' help

Update the help strings for these two arguments to indicate their
deprecated nature. This was previously flagged via a deprecation warning
but users would only see that if they were to run the command.

Change-Id: I31a5e27ac8bd2625a6073b54a51bf3e8d6126c8c
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
Stephen Finucane 2021-05-20 16:58:57 +01:00
parent 6bdf030953
commit b1a41904c3

View File

@ -3769,12 +3769,20 @@ release the new server and restart the old one.""")
phase_group.add_argument( phase_group.add_argument(
'--confirm', '--confirm',
action="store_true", action="store_true",
help=_('Confirm server resize is complete'), help=_(
"**Deprecated** Confirm server resize is complete. "
"Replaced by the 'openstack server resize confirm' and "
"'openstack server migration confirm' commands"
),
) )
phase_group.add_argument( phase_group.add_argument(
'--revert', '--revert',
action="store_true", action="store_true",
help=_('Restore server state before resize'), help=_(
'**Deprecated** Restore server state before resize'
"Replaced by the 'openstack server resize revert' and "
"'openstack server migration revert' commands"
),
) )
parser.add_argument( parser.add_argument(
'--wait', '--wait',