From 222f283b22387b8be55c6d2d1420cb965599de7f Mon Sep 17 00:00:00 2001 From: Sahid Orentino Ferdjaoui Date: Wed, 18 Dec 2013 10:07:21 +0000 Subject: [PATCH] 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 [object] swift post [object] Change-Id: I7be525905b51d3ef160b0f47194e817b5cba0f9b --- bin/swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/swift b/bin/swift index b61f47d0..0511abd0 100755 --- a/bin/swift +++ b/bin/swift @@ -71,7 +71,7 @@ def immediate_exit(signum, frame): st_delete_options = '''[-all] [--leave-segments] [--object-threads ] [--container-threads ] - + [object] ''' st_delete_help = ''' @@ -79,7 +79,7 @@ Delete a container or objects within a container Positional arguments: Name of container to delete from - 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: - 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: Name of container to post to - Name of object to post. Specify multiple times + [object] Name of object to post. Specify multiple times for multiple objects Optional arguments: