summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-07-10 07:06:08 +0000
committerGerrit Code Review <review@openstack.org>2013-07-10 07:06:08 +0000
commitc460ebff0a6ab284d47e215f7f9156e73e7a40a9 (patch)
tree5010974e45df6b1fd601847791dc2308a49042fd /bin
parent94d7c2318100bfdcaf42ecb2fb7ecd82ebfbef69 (diff)
parent1d4d51b218ed14b85d1e46d3e7142fb52ea179d5 (diff)
downloadpython-swiftclient-c460ebff0a6ab284d47e215f7f9156e73e7a40a9.tar.gz
Merge "Allow storage url override for both auth vers."
Diffstat (limited to 'bin')
-rwxr-xr-xbin/swift9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/swift b/bin/swift
index 8224b4d..4b3c068 100755
--- a/bin/swift
+++ b/bin/swift
@@ -1278,10 +1278,10 @@ Commands:
%(st_delete_help)s
Examples:
- %%prog -A https://auth.api.rackspacecloud.com/v1.0 -U user -K key stat
+ %%prog -A https://auth.api.rackspacecloud.com/v1.0 -U user -K key stat -v
%%prog --os-auth-url https://api.example.com/v2.0 --os-tenant-name tenant \\
- --os-usernameuser --os-password password list
+ --os-username user --os-password password list
%%prog --os-auth-token 6ee5eb33efad4e45ab46806eac010566 \\
--os-storage-url https://10.1.5.2:8080/v1/AUTH_ced809b6a4baea7aeab61a \\
@@ -1358,8 +1358,9 @@ Examples:
default=environ.get('OS_STORAGE_URL'),
help='Openstack storage URL. '
'Defaults to env[OS_STORAGE_URL]. '
- 'Used with --os-auth-token to bypass the '
- 'usual username/password authentication.')
+ 'Overrides the storage url returned during auth. '
+ 'Will bypass authentication when used with '
+ '--os-auth-token.')
parser.add_option('--os_storage_url',
help=SUPPRESS_HELP)
parser.add_option('--os-region-name',