summaryrefslogtreecommitdiff
path: root/swiftclient/shell.py
diff options
context:
space:
mode:
authorFlorent Flament <florent.flament-ext@cloudwatt.com>2014-04-04 13:04:54 +0000
committerFlorent Flament <florent.flament-ext@cloudwatt.com>2014-04-04 15:10:40 +0000
commit1eaf4c549fd30d831aca11e05eeddbfb77ac3388 (patch)
tree39d0497a9f314c9f01eb7e4aa5f28b814b0cfbd4 /swiftclient/shell.py
parentfa65fbbce51a7a603a6453da51db41061e4388f9 (diff)
downloadpython-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-xswiftclient/shell.py13
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. '