From 1eaf4c549fd30d831aca11e05eeddbfb77ac3388 Mon Sep 17 00:00:00 2001 From: Florent Flament <florent.flament-ext@cloudwatt.com> Date: Fri, 4 Apr 2014 13:04:54 +0000 Subject: [PATCH] Update help message to specify unit of --segment-size option. Change-Id: Ic3f9a733329c19c4e0bb85676da28a8d1d74232b Closes-Bug: 1302566 --- swiftclient/shell.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/swiftclient/shell.py b/swiftclient/shell.py index 63ebc063..d7415e14 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. '