diff options
author | Florent Flament <florent.flament-ext@cloudwatt.com> | 2014-04-04 13:04:54 +0000 |
---|---|---|
committer | Florent Flament <florent.flament-ext@cloudwatt.com> | 2014-04-04 15:10:40 +0000 |
commit | 1eaf4c549fd30d831aca11e05eeddbfb77ac3388 (patch) | |
tree | 39d0497a9f314c9f01eb7e4aa5f28b814b0cfbd4 /swiftclient/shell.py | |
parent | fa65fbbce51a7a603a6453da51db41061e4388f9 (diff) | |
download | python-swiftclient-1eaf4c549fd30d831aca11e05eeddbfb77ac3388.tar.gz |
Update help message to specify unit of --segment-size option.
Change-Id: Ic3f9a733329c19c4e0bb85676da28a8d1d74232b
Closes-Bug: 1302566
Diffstat (limited to 'swiftclient/shell.py')
-rwxr-xr-x | swiftclient/shell.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/swiftclient/shell.py b/swiftclient/shell.py index 63ebc06..d7415e1 100755 --- a/swiftclient/shell.py +++ b/swiftclient/shell.py @@ -824,9 +824,10 @@ Optional arguments: --changed Only upload files that have changed since the last upload. --skip-identical Skip uploading files that are identical on both sides. - --segment-size <size> Upload files in segments no larger than <size> and - then create a "manifest" file that will download all - the segments as if it were the original file. + --segment-size <size> Upload files in segments no larger than <size> (in + Bytes) and then create a "manifest" file that will + download all the segments as if it were the original + file. --segment-container <container> Upload the segments into the specified container. If not specified, the segments will be uploaded to a @@ -864,9 +865,9 @@ def st_upload(parser, args, thread_manager): 'both sides.') parser.add_option( '-S', '--segment-size', dest='segment_size', help='Upload files ' - 'in segments no larger than <size> and then create a "manifest" ' - 'file that will download all the segments as if it were the original ' - 'file.') + 'in segments no larger than <size> (in Bytes) and then create a ' + '"manifest" file that will download all the segments as if it were ' + 'the original file.') parser.add_option( '-C', '--segment-container', dest='segment_container', help='Upload the segments into the specified container. ' |