Remove backticks from help in role commands
the docs and code had inconsistencies with how it references other arguments, lets just remove the backticks from around them. Change-Id: I43d17b07364e45387c6b9d86c2aca26eeea8ed93
This commit is contained in:
parent
1461c0eb17
commit
3f532a2b69
@ -20,21 +20,21 @@ Add role to a user or group in a project or domain
|
||||
|
||||
.. option:: --domain <domain>
|
||||
|
||||
Include `<domain>` (name or ID)
|
||||
Include <domain> (name or ID)
|
||||
|
||||
.. versionadded:: 3
|
||||
|
||||
.. option:: --project <project>
|
||||
|
||||
Include `<project>` (name or ID)
|
||||
Include <project> (name or ID)
|
||||
|
||||
.. option:: --user <user>
|
||||
|
||||
Include `<user>` (name or ID)
|
||||
Include <user> (name or ID)
|
||||
|
||||
.. option:: --group <group>
|
||||
|
||||
Include `<group>` (name or ID)
|
||||
Include <group> (name or ID)
|
||||
|
||||
.. versionadded:: 3
|
||||
|
||||
@ -67,7 +67,7 @@ Add role to a user or group in a project or domain
|
||||
|
||||
.. describe:: <role>
|
||||
|
||||
Role to add to `<project>`:`<user>` (name or ID)
|
||||
Role to add to <project>:<user> (name or ID)
|
||||
|
||||
role create
|
||||
-----------
|
||||
@ -186,21 +186,21 @@ Remove role from domain/project : user/group
|
||||
|
||||
.. option:: --domain <domain>
|
||||
|
||||
Include `<domain>` (name or ID)
|
||||
Include <domain> (name or ID)
|
||||
|
||||
.. versionadded:: 3
|
||||
|
||||
.. option:: --project <project>
|
||||
|
||||
Include `<project>` (name or ID)
|
||||
Include <project> (name or ID)
|
||||
|
||||
.. option:: --user <user>
|
||||
|
||||
Include `<user>` (name or ID)
|
||||
Include <user> (name or ID)
|
||||
|
||||
.. option:: --group <group>
|
||||
|
||||
Include `<group>` (name or ID)
|
||||
Include <group> (name or ID)
|
||||
|
||||
.. versionadded:: 3
|
||||
|
||||
|
@ -39,7 +39,7 @@ def _add_identity_and_resource_options_to_parser(parser):
|
||||
domain_or_project.add_argument(
|
||||
'--project',
|
||||
metavar='<project>',
|
||||
help='Include `<project>` (name or ID)',
|
||||
help='Include <project> (name or ID)',
|
||||
)
|
||||
user_or_group = parser.add_mutually_exclusive_group()
|
||||
user_or_group.add_argument(
|
||||
|
Loading…
x
Reference in New Issue
Block a user