diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-02-28 02:58:28 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-02-28 02:58:28 +0000 |
commit | 999e1c0f02ab4f697a0bf66c95f1744c86dc4523 (patch) | |
tree | 313453d3647709fb3343e58b396ff2e21717ddba /bin | |
parent | 974f530bdbcb2d94e4e9cce54c7c88915f342cb6 (diff) | |
parent | ec38637a35dccdfda16efeab7866dc147dc380b9 (diff) | |
download | python-swiftclient-999e1c0f02ab4f697a0bf66c95f1744c86dc4523.tar.gz |
Merge "Added "/" check when list containers."
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/swift | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -527,7 +527,7 @@ def st_list(parser, args, print_queue, error_queue): args = args[1:] if options.delimiter and not args: exit('-d option only allowed for container listings') - if len(args) > 1: + if len(args) > 1 or len(args) == 1 and args[0].find('/') >= 0: error_queue.put('Usage: %s [options] %s' % (basename(argv[0]), st_list_help)) return |