Skip to content

Commit b1a4190

Browse files
committed
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>
1 parent 6bdf030 commit b1a4190

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

openstackclient/compute/v2/server.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3769,12 +3769,20 @@ def get_parser(self, prog_name):
37693769
phase_group.add_argument(
37703770
'--confirm',
37713771
action="store_true",
3772-
help=_('Confirm server resize is complete'),
3772+
help=_(
3773+
"**Deprecated** Confirm server resize is complete. "
3774+
"Replaced by the 'openstack server resize confirm' and "
3775+
"'openstack server migration confirm' commands"
3776+
),
37733777
)
37743778
phase_group.add_argument(
37753779
'--revert',
37763780
action="store_true",
3777-
help=_('Restore server state before resize'),
3781+
help=_(
3782+
'**Deprecated** Restore server state before resize'
3783+
"Replaced by the 'openstack server resize revert' and "
3784+
"'openstack server migration revert' commands"
3785+
),
37783786
)
37793787
parser.add_argument(
37803788
'--wait',

0 commit comments

Comments
 (0)