We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 35ea7a9 + 6c8e0dc commit be081ebCopy full SHA for be081eb
openstackclient/image/client.py
@@ -16,6 +16,7 @@
16
import logging
17
18
from openstackclient.common import utils
19
+from openstackclient.i18n import _
20
21
22
LOG = logging.getLogger(__name__)
@@ -82,7 +83,7 @@ def build_option_parser(parser):
82
83
'--os-image-api-version',
84
metavar='<image-api-version>',
85
default=utils.env('OS_IMAGE_API_VERSION'),
- help='Image API version, default=' +
86
- DEFAULT_API_VERSION +
87
- ' (Env: OS_IMAGE_API_VERSION)')
+ help=_('Image API version, default=%s (Env: OS_IMAGE_API_VERSION)') %
+ DEFAULT_API_VERSION,
88
+ )
89
return parser
0 commit comments