summaryrefslogtreecommitdiff
path: root/examples/common.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-01-16 19:30:22 +0000
committerGerrit Code Review <review@openstack.org>2015-01-16 19:30:22 +0000
commit655b76f649daba7d33823ce1955f572fc9df36f4 (patch)
tree3ba648686c8317141f468af3edd2c9b19629346d /examples/common.py
parent77097c6cd48142e94853aa568692fcae0187a885 (diff)
parent1d75edb1678e42a36879245c6ebac69c14a5f965 (diff)
downloadpython-openstackclient-655b76f649daba7d33823ce1955f572fc9df36f4.tar.gz
Merge "Default user domain id and project domain id"
Diffstat (limited to 'examples/common.py')
-rwxr-xr-xexamples/common.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/common.py b/examples/common.py
index ad3a5e49..1ccea2a0 100755
--- a/examples/common.py
+++ b/examples/common.py
@@ -102,6 +102,12 @@ def base_parser(parser):
default=env('OS_CACERT'),
help='CA certificate bundle file (Env: OS_CACERT)',
)
+ parser.add_argument(
+ '--os-default-domain',
+ metavar='<auth-domain>',
+ default='default',
+ help='Default domain ID, default=default (Env: OS_DEFAULT_DOMAIN)',
+ )
verify_group = parser.add_mutually_exclusive_group()
verify_group.add_argument(
'--verify',