From 75bf5d7c7822f69aa0c75edec98049e1c46c12d1 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 6 Aug 2015 23:52:02 -0700 Subject: [PATCH] update share command template --- share-main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share-main.go b/share-main.go index 3a3e33a8..ec0c44fc 100644 --- a/share-main.go +++ b/share-main.go @@ -37,7 +37,7 @@ var shareCmd = cli.Command{ mc {{.Name}} - {{.Usage}} USAGE: - mc {{.Name}} TARGET [TARGET...] {{if .Description}} + mc {{.Name}} TARGET DURATION {{if .Description}} DESCRIPTION: {{.Description}}{{end}}{{if .Flags}} @@ -47,10 +47,10 @@ FLAGS: {{end}}{{ end }} EXAMPLES: - 1. Generate presigned url for an object with expiration of 10minutes + 1. Generate presigned url for an object, with expiration of 10minutes $ mc {{.Name}} url https://s3.amazonaws.com/backup/2006-Mar-1/backup.tar.gz 10m - 2. Generate presigned url for all objects at given path + 2. Generate presigned url for all objects at given path, with expiration of 20minutes $ mc {{.Name}} url https://s3.amazonaws.com/backup... 20m `,