summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYangLei <yanglyy@cn.ibm.com>2015-06-30 15:05:40 +0800
committerYangLei <yanglyy@cn.ibm.com>2015-06-30 15:10:44 +0800
commit91855bd912c75d4b6b86a3245a44099d8d03c676 (patch)
treebac907205b72e0387d1e05e519a7e432c2d1f506
parent7c716997a8ede3f98741709b0594340df9849a76 (diff)
downloadpython-swiftclient-91855bd912c75d4b6b86a3245a44099d8d03c676.tar.gz
Correct the help message of swift tempurl
correct the help message of swift tempurl use <> instead of [] in Positional arguments. Change-Id: Ib60ce97cef03e0423082c497604525eba2300fa9
-rwxr-xr-xswiftclient/shell.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/swiftclient/shell.py b/swiftclient/shell.py
index 29b3457..af9ff25 100755
--- a/swiftclient/shell.py
+++ b/swiftclient/shell.py
@@ -913,13 +913,13 @@ st_tempurl_help = '''
Generates a temporary URL for a Swift object.
Positional arguments:
- [method] An HTTP method to allow for this temporary URL.
+ <method> An HTTP method to allow for this temporary URL.
Usually 'GET' or 'PUT'.
- [seconds] The amount of time in seconds the temporary URL will
+ <seconds> The amount of time in seconds the temporary URL will
be valid for.
- [path] The full path to the Swift object. Example:
+ <path> The full path to the Swift object. Example:
/v1/AUTH_account/c/o.
- [key] The secret temporary URL key set on the Swift cluster.
+ <key> The secret temporary URL key set on the Swift cluster.
To set a key, run \'swift post -m
"Temp-URL-Key:b3968d0207b54ece87cccc06515a89d4"\'
'''.strip('\n')