summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKota Tsuyuzaki <tsuyuzaki.kota@lab.ntt.co.jp>2018-02-23 18:02:40 +0900
committerKota Tsuyuzaki <tsuyuzaki.kota@lab.ntt.co.jp>2018-02-23 18:06:07 +0900
commit097f4b26d9e68fb818c078cd0a0d30658042fff7 (patch)
treed7e83eb21330b210a24e23d0336ef46aca0adc1d
parent73f0259dbc847eee027f76a9e867fe8c53bf9918 (diff)
downloadpython-swiftclient-097f4b26d9e68fb818c078cd0a0d30658042fff7.tar.gz
Add missing <sync-to> value in command line docs
Because it should take a value of either realm or full url. Change-Id: I1fe30825ef1620e256c9fd3057da6808b03d7200
-rw-r--r--doc/source/cli/index.rst2
-rwxr-xr-xswiftclient/shell.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/cli/index.rst b/doc/source/cli/index.rst
index 4aa3bfc..b57c25e 100644
--- a/doc/source/cli/index.rst
+++ b/doc/source/cli/index.rst
@@ -442,7 +442,7 @@ swift post
.. code-block:: console
- Usage: swift post [--read-acl <acl>] [--write-acl <acl>] [--sync-to]
+ Usage: swift post [--read-acl <acl>] [--write-acl <acl>] [--sync-to <sync-to>]
[--sync-key <sync-key>] [--meta <name:value>]
[--header <header>]
[<container> [<object>]]
diff --git a/swiftclient/shell.py b/swiftclient/shell.py
index d02c709..6ccc16d 100755
--- a/swiftclient/shell.py
+++ b/swiftclient/shell.py
@@ -687,7 +687,7 @@ def st_stat(parser, args, output_manager):
output_manager.error(e.value)
-st_post_options = '''[--read-acl <acl>] [--write-acl <acl>] [--sync-to]
+st_post_options = '''[--read-acl <acl>] [--write-acl <acl>] [--sync-to <sync-to>]
[--sync-key <sync-key>] [--meta <name:value>]
[--header <header>]
[<container> [<object>]]