summaryrefslogtreecommitdiff
path: root/openstackclient/identity/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/identity/common.py')
-rw-r--r--openstackclient/identity/common.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/openstackclient/identity/common.py b/openstackclient/identity/common.py
index 1e40f396..1f645b7d 100644
--- a/openstackclient/identity/common.py
+++ b/openstackclient/identity/common.py
@@ -201,6 +201,16 @@ def add_project_domain_option_to_parser(parser):
)
+def add_role_domain_option_to_parser(parser):
+ parser.add_argument(
+ '--role-domain',
+ metavar='<role-domain>',
+ help=_('Domain the role belongs to (name or ID). '
+ 'This must be specified when the name of a domain specific '
+ 'role is used.'),
+ )
+
+
def add_inherited_option_to_parser(parser):
parser.add_argument(
'--inherited',