From 097f4b26d9e68fb818c078cd0a0d30658042fff7 Mon Sep 17 00:00:00 2001
From: Kota Tsuyuzaki <tsuyuzaki.kota@lab.ntt.co.jp>
Date: Fri, 23 Feb 2018 18:02:40 +0900
Subject: [PATCH] Add missing <sync-to> value in command line docs

Because it should take a value of either realm or full url.

Change-Id: I1fe30825ef1620e256c9fd3057da6808b03d7200
---
 doc/source/cli/index.rst | 2 +-
 swiftclient/shell.py     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/source/cli/index.rst b/doc/source/cli/index.rst
index 4aa3bfcd..b57c25ef 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 d02c709f..6ccc16df 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>]]