diff --git a/config-main.go b/config-main.go index 9e52cd53..2e7fdef4 100644 --- a/config-main.go +++ b/config-main.go @@ -30,7 +30,7 @@ import "github.com/minio/cli" // var configCmd = cli.Command{ Name: "config", - Usage: "Collection of config management commands.", + Usage: "Manage ‘mc’ configuration.", Action: mainConfig, Subcommands: []cli.Command{ configAliasCmd, diff --git a/mirror-main.go b/mirror-main.go index b81a3b31..12b8fce0 100644 --- a/mirror-main.go +++ b/mirror-main.go @@ -45,8 +45,8 @@ USAGE: mc {{.Name}} SOURCE TARGET [TARGET...] EXAMPLES: - 1. Mirror a bucket recursively from Minio cloud storage to multiple buckets on Amazon S3 cloud storage. - $ mc {{.Name}} https://play.minio.io:9000/photos/2014 https://s3.amazonaws.com/backup-photos https://s3-west-1.amazonaws.com/local-photos + 1. Mirror a bucket recursively from Minio cloud storage to a bucket on Amazon S3 cloud storage. + $ mc {{.Name}} https://play.minio.io:9000/photos/2014 https://s3.amazonaws.com/backup-photos 2. Mirror a local folder recursively to Minio cloud storage and Amazon S3 cloud storage. $ mc {{.Name}} backup/ https://play.minio.io:9000/archive https://s3.amazonaws.com/archive diff --git a/pig-main.go b/pig-main.go index ec905f54..98792b20 100644 --- a/pig-main.go +++ b/pig-main.go @@ -45,7 +45,7 @@ EXAMPLES: 3. Stream MySQL database dump to Amazon S3 directly. $ mysqldump -u root -p ******* accountsdb | mc {{.Name}} https://s3.amazonaws.com/ferenginar/backups/accountsdb-oct-9-2015.sql - 4. Contatinate a zip file to two object storage servers simultaneously. + 4. Stream a zip file to two object storage servers simultaneously. $ cat ~/myphotos.zip | mc {{.Name}} https://s3.amazonaws.com/mybucket/photos.zip https://minio.mystartup.io:9000/backup/photos.zip `, } diff --git a/rm-main.go b/rm-main.go index 1d487297..c9bb6fec 100644 --- a/rm-main.go +++ b/rm-main.go @@ -32,7 +32,7 @@ import ( // remove a file or folder. var rmCmd = cli.Command{ Name: "rm", - Usage: "Remove file or bucket.", + Usage: "Remove file or bucket [WARNING: Use with care].", Action: mainRm, CustomHelpTemplate: `NAME: mc {{.Name}} - {{.Usage}} @@ -53,19 +53,10 @@ EXAMPLES: 3. Remove a bucket on Minio cloud storage $ mc {{.Name}} https://play.minio.io:9000/mongodb-backup - 4. Remove a bucket on Cloud storage recursively - $ mc {{.Name}} https://s3.amazonaws.com/jazz-songs/... force - - 5. Remove a file on local filesystem: - $ mc {{.Name}} march/expenses.doc - - 6. Remove a file named "force" on local filesystem: - $ mc {{.Name}} force - - 7. Remove incomplete upload of a file on Cloud storage: + 4. Remove incomplete upload of a file on Cloud storage: $ mc {{.Name}} https://s3.amazonaws.com/jazz-songs/louis/file01.mp3 incomplete - 2. Remove incomplete uploads of folder recursively on Cloud storage + 5. Remove incomplete uploads of folder recursively on Cloud storage $ mc {{.Name}} https://s3.amazonaws.com/jazz-songs/louis/... incomplete force `, diff --git a/session-main.go b/session-main.go index 9c858047..7f3d5ed6 100644 --- a/session-main.go +++ b/session-main.go @@ -31,7 +31,7 @@ import ( // Manage sessions for cp and mirror. var sessionCmd = cli.Command{ Name: "session", - Usage: "Manage sessions for cp and mirror.", + Usage: "Manage saved sessions of cp and mirror operations.", Action: mainSession, CustomHelpTemplate: `NAME: mc {{.Name}} - {{.Usage}} diff --git a/share-download-main.go b/share-download-main.go index 538356a1..0f0490df 100644 --- a/share-download-main.go +++ b/share-download-main.go @@ -28,7 +28,7 @@ import ( // Share documents via URL. var shareDownload = cli.Command{ Name: "download", - Usage: "Share documents via URL.", + Usage: "Generate URL to download documents.", Action: mainShareDownload, CustomHelpTemplate: `NAME: mc share {{.Name}} - {{.Usage}} diff --git a/share-main.go b/share-main.go index 402ae49b..e8e343c8 100644 --- a/share-main.go +++ b/share-main.go @@ -32,7 +32,7 @@ import ( // Share documents via URL. var shareCmd = cli.Command{ Name: "share", - Usage: "Share documents via URL.", + Usage: "Download and upload documents.", Action: mainShare, Subcommands: []cli.Command{ shareDownload, diff --git a/share-upload-main.go b/share-upload-main.go index 4ef862ab..dd9f2eaa 100644 --- a/share-upload-main.go +++ b/share-upload-main.go @@ -28,7 +28,7 @@ import ( // Share documents via URL. var shareUpload = cli.Command{ Name: "upload", - Usage: "Share link that can be used to upload files to private bucket", + Usage: "Generate ‘curl’ command to upload files.", Action: mainShareUpload, CustomHelpTemplate: `NAME: mc share {{.Name}} - {{.Usage}}