summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-07-09 22:57:56 +0000
committerGerrit Code Review <review@openstack.org>2019-07-09 22:57:56 +0000
commit7cf8541b38a8782decdd27cb37909e737ed67b8a (patch)
tree65e0b7b82dc7e969a0c03126ec25dd8386cba457
parent591c3e23804519f405a6645232c2246b173b5e75 (diff)
parent097f4b26d9e68fb818c078cd0a0d30658042fff7 (diff)
downloadpython-swiftclient-7cf8541b38a8782decdd27cb37909e737ed67b8a.tar.gz
Merge "Add missing <sync-to> value in command line docs"
-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 d6841d5..1762989 100644
--- a/doc/source/cli/index.rst
+++ b/doc/source/cli/index.rst
@@ -443,7 +443,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 0459533..a322a1c 100755
--- a/swiftclient/shell.py
+++ b/swiftclient/shell.py
@@ -709,7 +709,7 @@ def st_stat(parser, args, output_manager, return_parser=False):
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>]]