summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2015-02-27 09:19:12 -0600
committerDean Troyer <dtroyer@gmail.com>2015-02-27 17:27:17 -0600
commit505fa14cd68e13d066a5770a229ba0d7fa88d2a9 (patch)
tree2b7deecebfc03ca94a89536127a206ef658fc2a3 /examples
parent9400effd4b7653045657630e0909b3dc303ec59e (diff)
downloadpython-openstackclient-505fa14cd68e13d066a5770a229ba0d7fa88d2a9.tar.gz
Fix auth-required for help command
When we got picky with the auth arguments we broke using help without any auth config supplied. This rearranges things a bit to do the argument checking when the deferred auth request to Identity occurs so commands that do not need auth have a chance to live short but useful lives. Closes-Bug: #1399588 Change-Id: I8ceac491cf65e25eddb62ab2713f471fe686756d
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/osc-lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/osc-lib.py b/examples/osc-lib.py
index 69fc5d98..2960a2f7 100755
--- a/examples/osc-lib.py
+++ b/examples/osc-lib.py
@@ -59,7 +59,7 @@ def run(opts):
# Collect the auth and config options together and give them to
# ClientManager and it will wrangle all of the goons into place.
client_manager = clientmanager.ClientManager(
- auth_options=opts,
+ cli_options=opts,
verify=verify,
api_version=api_version,
)