diff --git a/access-main.go b/access-main.go index e33cb987..c4767912 100644 --- a/access-main.go +++ b/access-main.go @@ -44,7 +44,6 @@ DESCRIPTION: {{.Description}}{{end}} EXAMPLES: - 1. Set bucket to "private" on Amazon S3 cloud storage. $ mc {{.Name}} set private https://s3.amazonaws.com/burningman2011 diff --git a/share-download-main.go b/share-download-main.go index a09a62f3..7e91a209 100644 --- a/share-download-main.go +++ b/share-download-main.go @@ -32,23 +32,23 @@ var shareDownload = cli.Command{ Action: mainShareDownload, Flags: []cli.Flag{shareFlagExpire}, CustomHelpTemplate: `NAME: - mc share {{.Name}} - {{.Usage}} + mc share {{.Name}} - {{.Usage}} - USAGE: - mc share {{.Name}} [OPTIONS] TARGET +USAGE: + mc share {{.Name}} [OPTIONS] TARGET - OPTIONS: +OPTIONS: {{range .Flags}}{{.}} {{end}} - EXAMPLES: - 1. Generate URL for sharing, with a default expiry of 7 days. - $ mc share {{.Name}} https://s3.amazonaws.com/backup/2006-Mar-1/backup.tar.gz +EXAMPLES: + 1. Generate URL for sharing, with a default expiry of 7 days. + $ mc share {{.Name}} https://s3.amazonaws.com/backup/2006-Mar-1/backup.tar.gz - 2. Generate URL for sharing, with an expiry of 10 minutes. - $ mc share {{.Name}} --expire=10m https://s3.amazonaws.com/backup/2006-Mar-1/backup.tar.gz + 2. Generate URL for sharing, with an expiry of 10 minutes. + $ mc share {{.Name}} --expire=10m https://s3.amazonaws.com/backup/2006-Mar-1/backup.tar.gz - 3. Generate list of URLs for sharing a folder recursively, with an expiry of 5 days each. - $ mc share {{.Name}} --expire=120h https://s3.amazonaws.com/backup... + 3. Generate list of URLs for sharing a folder recursively, with an expiry of 5 days each. + $ mc share {{.Name}} --expire=120h https://s3.amazonaws.com/backup... `, } diff --git a/share-main.go b/share-main.go index 24b8fb42..5d68edec 100644 --- a/share-main.go +++ b/share-main.go @@ -36,10 +36,10 @@ var shareCmd = cli.Command{ shareList, }, CustomHelpTemplate: `NAME: - {{.Name}} - {{.Usage}} + {{.Name}} - {{.Usage}} USAGE: - {{.Name}} command [arguments...] + {{.Name}} command [arguments...] COMMANDS: {{range .Subcommands}}{{join .Names ", "}}{{ "\t" }}{{.Usage}}