From f65e4835d3f59d72f6cbafe30252a3230fa5a46a Mon Sep 17 00:00:00 2001 From: Rajesh Tailor <ratailor@redhat.com> Date: Wed, 5 Mar 2025 19:55:59 +0530 Subject: [PATCH] Fix missing space in help messages This change fixes missing space in help messages to make those consistent and pretty rendering when calling help. Change-Id: I947374821a4dbb5e68651c0e72fc5fd2f938e6a1 --- openstackclient/compute/v2/server.py | 12 ++++++------ openstackclient/volume/v3/volume_backup.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/openstackclient/compute/v2/server.py b/openstackclient/compute/v2/server.py index dcadca1b65..da632927bc 100644 --- a/openstackclient/compute/v2/server.py +++ b/openstackclient/compute/v2/server.py @@ -1402,7 +1402,7 @@ class CreateServer(command.ShowOne): default=[], help=_( 'File(s) to inject into image before boot ' - '(repeat option to set multiple files)' + '(repeat option to set multiple files) ' '(supported by --os-compute-api-version 2.57 or below)' ), ) @@ -3222,7 +3222,7 @@ revert to release the new server and restart the old one.""" action='store_true', default=None, help=_( - 'Allow disk over-commit on the destination host' + 'Allow disk over-commit on the destination host ' '(supported with --os-compute-api-version 2.24 or below)' ), ) @@ -3231,7 +3231,7 @@ revert to release the new server and restart the old one.""" dest='disk_overcommit', action='store_false', help=_( - 'Do not over-commit disk on the destination host (default)' + 'Do not over-commit disk on the destination host (default) ' '(supported with --os-compute-api-version 2.24 or below)' ), ) @@ -3434,7 +3434,7 @@ class RebuildServer(command.ShowOne): '--image', metavar='<image>', help=_( - 'Recreate server from the specified image (name or ID).' + 'Recreate server from the specified image (name or ID). ' 'Defaults to the currently used one.' ), ) @@ -4252,7 +4252,7 @@ release the new server and restart the old one.""" '--revert', action="store_true", help=_( - '**Deprecated** Restore server state before resize' + '**Deprecated** Restore server state before resize. ' "Replaced by the 'openstack server resize revert' and " "'openstack server migration revert' commands" ), @@ -5005,7 +5005,7 @@ class StopServer(command.Command): action='store_true', default=boolenv('ALL_PROJECTS'), help=_( - 'Stop server(s) in another project by name (admin only)' + 'Stop server(s) in another project by name (admin only) ' '(can be specified using the ALL_PROJECTS envvar)' ), ) diff --git a/openstackclient/volume/v3/volume_backup.py b/openstackclient/volume/v3/volume_backup.py index dce5646a98..25451d3568 100644 --- a/openstackclient/volume/v3/volume_backup.py +++ b/openstackclient/volume/v3/volume_backup.py @@ -466,7 +466,7 @@ class SetVolumeBackup(command.Command): '--name', metavar='<name>', help=_( - 'New backup name' + 'New backup name ' '(supported by --os-volume-api-version 3.9 or above)' ), )