summaryrefslogtreecommitdiff
path: root/openstackclient/image/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/image/client.py')
-rw-r--r--openstackclient/image/client.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/openstackclient/image/client.py b/openstackclient/image/client.py
index 8dd146e9..9c45a63f 100644
--- a/openstackclient/image/client.py
+++ b/openstackclient/image/client.py
@@ -16,6 +16,7 @@
import logging
from openstackclient.common import utils
+from openstackclient.i18n import _
LOG = logging.getLogger(__name__)
@@ -82,7 +83,7 @@ def build_option_parser(parser):
'--os-image-api-version',
metavar='<image-api-version>',
default=utils.env('OS_IMAGE_API_VERSION'),
- help='Image API version, default=' +
- DEFAULT_API_VERSION +
- ' (Env: OS_IMAGE_API_VERSION)')
+ help=_('Image API version, default=%s (Env: OS_IMAGE_API_VERSION)') %
+ DEFAULT_API_VERSION,
+ )
return parser