summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>2013-12-18 10:07:21 +0000
committerSahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>2013-12-18 10:12:22 +0000
commit222f283b22387b8be55c6d2d1420cb965599de7f (patch)
tree85328b92f4857d6df3b0ff2fb0f877c06dfbdf1e /bin
parente100fd28ab9ea58100bc972750889ec434ad4e9f (diff)
downloadpython-swiftclient-222f283b22387b8be55c6d2d1420cb965599de7f.tar.gz
Fix help of some optional arguments
Some positional arguments are optional but the help indicate they are mendatory and can be confuse for an user. swift delete <container> [object] swift post <container> [object] Change-Id: I7be525905b51d3ef160b0f47194e817b5cba0f9b
Diffstat (limited to 'bin')
-rwxr-xr-xbin/swift8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/swift b/bin/swift
index b61f47d..0511abd 100755
--- a/bin/swift
+++ b/bin/swift
@@ -71,7 +71,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 = '''
@@ -79,7 +79,7 @@ Delete a container or objects within a container
Positional arguments:
<container> Name of container to delete from
- <object> Name of object to delete. Specify multiple times
+ [object] Name of object to delete. Specify multiple times
for multiple objects
Optional arguments:
@@ -485,7 +485,7 @@ st_list_help = '''
Lists the containers for the account or the objects for a container
Positional arguments:
- <container> Name of container to list object in
+ [container] Name of container to list object in
Optional arguments:
--long Long listing format, similar to ls -l
@@ -664,7 +664,7 @@ If the container is not found, it will be created automatically.
Positional arguments:
<container> Name of container to post to
- <object> Name of object to post. Specify multiple times
+ [object] Name of object to post. Specify multiple times
for multiple objects
Optional arguments: