summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-14 20:46:52 +0000
committerGerrit Code Review <review@openstack.org>2016-09-14 20:46:52 +0000
commitb679959d35518818b01f8c5df44ce56e1c214ac2 (patch)
treeba574c25d2edfc1b36e505502f927316ae8e9d86
parentcacb3a3a1501a930a05b8494d6d1215fe96cf7af (diff)
parentcb0cdca7aa8ccb880f0cbacaf4b0e891cb3e91d9 (diff)
downloadpython-swiftclient-b679959d35518818b01f8c5df44ce56e1c214ac2.tar.gz
Merge "Make object option dependent on container in usage strings"
-rwxr-xr-xswiftclient/shell.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/swiftclient/shell.py b/swiftclient/shell.py
index 9386795..2bc4106 100755
--- a/swiftclient/shell.py
+++ b/swiftclient/shell.py
@@ -58,7 +58,7 @@ def immediate_exit(signum, frame):
st_delete_options = '''[--all] [--leave-segments]
[--object-threads <threads>]
[--container-threads <threads>]
- [<container>] [<object>] [...]
+ [<container> [<object>] [...]]
'''
st_delete_help = '''
@@ -209,7 +209,7 @@ st_download_options = '''[--all] [--marker <marker>] [--prefix <prefix>]
[--container-threads <threads>] [--no-download]
[--skip-identical] [--remove-prefix]
[--header <header:value>] [--no-shuffle]
- [<container>] [<object>]
+ [<container> [<object>] [...]]
'''
st_download_help = '''
@@ -581,7 +581,7 @@ def st_list(parser, args, output_manager):
st_stat_options = '''[--lh]
- [<container>] [<object>]
+ [<container> [<object>]]
'''
st_stat_help = '''
@@ -655,7 +655,7 @@ def st_stat(parser, args, output_manager):
st_post_options = '''[--read-acl <acl>] [--write-acl <acl>] [--sync-to]
[--sync-key <sync-key>] [--meta <name:value>]
[--header <header>]
- [<container>] [<object>]
+ [<container> [<object>]]
'''
st_post_help = '''