From 91855bd912c75d4b6b86a3245a44099d8d03c676 Mon Sep 17 00:00:00 2001 From: YangLei Date: Tue, 30 Jun 2015 15:05:40 +0800 Subject: Correct the help message of swift tempurl correct the help message of swift tempurl use <> instead of [] in Positional arguments. Change-Id: Ib60ce97cef03e0423082c497604525eba2300fa9 --- swiftclient/shell.py | 8 ++++---- 1 file 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. + An HTTP method to allow for this temporary URL. Usually 'GET' or 'PUT'. - [seconds] The amount of time in seconds the temporary URL will + The amount of time in seconds the temporary URL will be valid for. - [path] The full path to the Swift object. Example: + The full path to the Swift object. Example: /v1/AUTH_account/c/o. - [key] The secret temporary URL key set on the Swift cluster. + The secret temporary URL key set on the Swift cluster. To set a key, run \'swift post -m "Temp-URL-Key:b3968d0207b54ece87cccc06515a89d4"\' '''.strip('\n') -- cgit v1.2.1