Skip to content

Commit e6fb658

Browse files
committed
Correct help string of the subnet pool list options
Correct help string of subnet pool list options, from "subnets" to "subnet pools". Change-Id: Ic6dd6649f411748cd0c6e6b08f0451c8a0fa220f Partially-Implements: blueprint network-commands-options
1 parent fee1a31 commit e6fb658

2 files changed

Lines changed: 17 additions & 15 deletions

File tree

doc/source/command-objects/subnet-pool.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,23 +121,23 @@ List subnet pools
121121
122122
.. option:: --share
123123
124-
List subnets shared between projects
124+
List subnet pools shared between projects
125125
126126
.. option:: --no-share
127127
128-
List subnets not shared between projects
128+
List subnet pools not shared between projects
129129
130130
.. option:: --default
131131
132-
List subnets used as the default external subnet pool
132+
List subnet pools used as the default external subnet pool
133133
134134
.. option:: --no-default
135135
136-
List subnets not used as the default external subnet pool
136+
List subnet pools not used as the default external subnet pool
137137
138138
.. option:: --project <project>
139139
140-
List subnets according to their project (name or ID)
140+
List subnet pools according to their project (name or ID)
141141
142142
.. option:: --project-domain <project-domain>
143143
@@ -146,11 +146,11 @@ List subnet pools
146146
147147
.. option:: --name <name>
148148
149-
List only subnets of given name in output
149+
List only subnet pools of given name in output
150150
151151
.. option:: --address-scope <address-scope>
152152
153-
List only subnets of given address scope (name or ID) in output
153+
List only subnet pools of given address scope (name or ID) in output
154154
155155
subnet pool set
156156
---------------

openstackclient/network/v2/subnet_pool.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -238,40 +238,42 @@ def get_parser(self, prog_name):
238238
shared_group.add_argument(
239239
'--share',
240240
action='store_true',
241-
help=_("List subnets shared between projects"),
241+
help=_("List subnet pools shared between projects"),
242242
)
243243
shared_group.add_argument(
244244
'--no-share',
245245
action='store_true',
246-
help=_("List subnets not shared between projects"),
246+
help=_("List subnet pools not shared between projects"),
247247
)
248248
default_group = parser.add_mutually_exclusive_group()
249249
default_group.add_argument(
250250
'--default',
251251
action='store_true',
252-
help=_("List subnets used as the default external subnet pool"),
252+
help=_("List subnet pools used as the default external "
253+
"subnet pool"),
253254
)
254255
default_group.add_argument(
255256
'--no-default',
256257
action='store_true',
257-
help=_("List subnets not used as the default external subnet pool")
258+
help=_("List subnet pools not used as the default external "
259+
"subnet pool")
258260
)
259261
parser.add_argument(
260262
'--project',
261263
metavar='<project>',
262-
help=_("List subnets according to their project (name or ID)")
264+
help=_("List subnet pools according to their project (name or ID)")
263265
)
264266
identity_common.add_project_domain_option_to_parser(parser)
265267
parser.add_argument(
266268
'--name',
267269
metavar='<name>',
268-
help=_("List only subnets of given name in output")
270+
help=_("List only subnet pools of given name in output")
269271
)
270272
parser.add_argument(
271273
'--address-scope',
272274
metavar='<address-scope>',
273-
help=_("List only subnets of given address scope (name or ID) "
274-
"in output")
275+
help=_("List only subnet pools of given address scope "
276+
"(name or ID) in output")
275277
)
276278
return parser
277279

0 commit comments

Comments
 (0)