summaryrefslogtreecommitdiff
path: root/examples/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/common.py')
-rwxr-xr-xexamples/common.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/common.py b/examples/common.py
index 2e798529..3b31f582 100755
--- a/examples/common.py
+++ b/examples/common.py
@@ -85,8 +85,16 @@ def base_parser(parser):
# Global arguments
parser.add_argument(
+ '--os-cloud',
+ metavar='<cloud-config-name>',
+ dest='cloud',
+ default=env('OS_CLOUD'),
+ help='Cloud name in clouds.yaml (Env: OS_CLOUD)',
+ )
+ parser.add_argument(
'--os-region-name',
metavar='<auth-region-name>',
+ dest='region_name',
default=env('OS_REGION_NAME'),
help='Authentication region name (Env: OS_REGION_NAME)',
)