summaryrefslogtreecommitdiff
path: root/doc/manpages
diff options
context:
space:
mode:
authorTaurus Cheung <Taurus.Cheung@harmonicinc.com>2013-12-13 10:57:23 +0800
committerTaurus Cheung <Taurus.Cheung@harmonicinc.com>2013-12-24 10:27:17 +0800
commit26ecec0f6dec1b9fd2c91ffd0f642685b1b155a0 (patch)
treea7e7ff320055f365e66722489aab8ba968064515 /doc/manpages
parent38ae02928ddc72a1d8ed5a36c3de0eaa69111c32 (diff)
downloadpython-swiftclient-26ecec0f6dec1b9fd2c91ffd0f642685b1b155a0.tar.gz
Add --object-name
Add parameter --object-name, which: 1) Sets target object name when upload single file 2) Sets object prefix when upload a directory Change-Id: Idc4357c3355e66d31c100540b901e70db20b03c3 Closes-Bug: 1012979
Diffstat (limited to 'doc/manpages')
-rw-r--r--doc/manpages/swift.14
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/manpages/swift.1 b/doc/manpages/swift.1
index aae6c9f..a6292fc 100644
--- a/doc/manpages/swift.1
+++ b/doc/manpages/swift.1
@@ -61,7 +61,9 @@ of container or objects being listed.
.RS 4
Uploads to the given container the files and directories specified by the
remaining args. The -c or --changed is an option that will only upload files
-that have changed since the last upload. The -S <size> or --segment-size <size>
+that have changed since the last upload. The --object-name <object-name> is
+an option that will upload file and name object to <object-name> or upload dir
+and use <object-name> as object prefix. The -S <size> or --segment-size <size>
and --leave-segments are options as well (see --help for more).
.RE