Skip to content

Commit ea2e6d6

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Modify the help message for 'registered limit set'"
2 parents 5303bca + eb06a24 commit ea2e6d6

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

openstackclient/identity/v3/registered_limit.py

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,12 +206,18 @@ def get_parser(self, prog_name):
206206
parser.add_argument(
207207
'--service',
208208
metavar='<service>',
209-
help=_('Service responsible for the resource to limit'),
209+
help=_('Service to be updated responsible for the resource to '
210+
'limit. Either --service, --resource-name or --region must '
211+
'be different than existing value otherwise it will be '
212+
'duplicate entry')
210213
)
211214
parser.add_argument(
212215
'--resource-name',
213216
metavar='<resource-name>',
214-
help=_('The name of the resource to limit'),
217+
help=_('Resource to be updated responsible for the resource to '
218+
'limit. Either --service, --resource-name or --region must '
219+
'be different than existing value otherwise it will be '
220+
'duplicate entry'),
215221
)
216222
parser.add_argument(
217223
'--default-limit',
@@ -222,12 +228,15 @@ def get_parser(self, prog_name):
222228
parser.add_argument(
223229
'--description',
224230
metavar='<description>',
225-
help=_('Description of the registered limit'),
231+
help=_('Description to update of the registered limit'),
226232
)
227233
parser.add_argument(
228234
'--region',
229235
metavar='<region>',
230-
help=_('Region for the registered limit to affect.'),
236+
help=_('Region for the registered limit to affect. Either '
237+
'--service, --resource-name or --region must be '
238+
'different than existing value otherwise it will be '
239+
'duplicate entry'),
231240
)
232241
return parser
233242

0 commit comments

Comments
 (0)