Merge "Modify the help message for 'registered limit set'"
This commit is contained in:
@@ -206,12 +206,18 @@ class SetRegisteredLimit(command.ShowOne):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--service',
|
'--service',
|
||||||
metavar='<service>',
|
metavar='<service>',
|
||||||
help=_('Service responsible for the resource to limit'),
|
help=_('Service to be updated responsible for the resource to '
|
||||||
|
'limit. Either --service, --resource-name or --region must '
|
||||||
|
'be different than existing value otherwise it will be '
|
||||||
|
'duplicate entry')
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--resource-name',
|
'--resource-name',
|
||||||
metavar='<resource-name>',
|
metavar='<resource-name>',
|
||||||
help=_('The name of the resource to limit'),
|
help=_('Resource to be updated responsible for the resource to '
|
||||||
|
'limit. Either --service, --resource-name or --region must '
|
||||||
|
'be different than existing value otherwise it will be '
|
||||||
|
'duplicate entry'),
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--default-limit',
|
'--default-limit',
|
||||||
@@ -222,12 +228,15 @@ class SetRegisteredLimit(command.ShowOne):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--description',
|
'--description',
|
||||||
metavar='<description>',
|
metavar='<description>',
|
||||||
help=_('Description of the registered limit'),
|
help=_('Description to update of the registered limit'),
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--region',
|
'--region',
|
||||||
metavar='<region>',
|
metavar='<region>',
|
||||||
help=_('Region for the registered limit to affect.'),
|
help=_('Region for the registered limit to affect. Either '
|
||||||
|
'--service, --resource-name or --region must be '
|
||||||
|
'different than existing value otherwise it will be '
|
||||||
|
'duplicate entry'),
|
||||||
)
|
)
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user