summaryrefslogtreecommitdiff
path: root/openstackclient/network/v2/network.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/network/v2/network.py')
-rw-r--r--openstackclient/network/v2/network.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/openstackclient/network/v2/network.py b/openstackclient/network/v2/network.py
index 6730ce85..bdde9173 100644
--- a/openstackclient/network/v2/network.py
+++ b/openstackclient/network/v2/network.py
@@ -219,7 +219,7 @@ class CreateNetwork(common.NetworkAndComputeShowOne):
default_router_grp.add_argument(
'--no-default',
action='store_true',
- help=_("Do not use the network as the default external network. "
+ help=_("Do not use the network as the default external network "
"(default)")
)
_add_additional_network_options(parser)
@@ -256,7 +256,7 @@ class DeleteNetwork(common.NetworkAndComputeCommand):
'network',
metavar="<network>",
nargs="+",
- help=("Network(s) to delete (name or ID)")
+ help=_("Network(s) to delete (name or ID)")
)
return parser
@@ -282,13 +282,13 @@ class ListNetwork(common.NetworkAndComputeLister):
'--external',
action='store_true',
default=False,
- help='List external networks',
+ help=_("List external networks")
)
parser.add_argument(
'--long',
action='store_true',
default=False,
- help='List additional fields in output',
+ help=_("List additional fields in output")
)
return parser
@@ -435,7 +435,7 @@ class SetNetwork(command.Command):
attrs = _get_attrs(self.app.client_manager, parsed_args)
if attrs == {}:
- msg = "Nothing specified to be set"
+ msg = _("Nothing specified to be set")
raise exceptions.CommandError(msg)
client.update_network(obj, **attrs)