From be59793b78f0648d935bf52d6a810eda4c166e4b Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 13 Mar 2015 03:18:59 -0700 Subject: [PATCH] Update docs --- README.md | 25 ++++++++++++++----------- cmd-options.go | 10 +++++----- docs/index.md | 25 ++++++++++++++----------- 3 files changed, 33 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index e20f6f70..a0969537 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Minio Client -mc - unified command line interface for Minio and S3 released under [Apache license v2](./LICENSE). +mc - Minio Client for S3 Compatible Object Storage released under [Apache license v2](./LICENSE). ## Install @@ -13,7 +13,7 @@ mc - unified command line interface for Minio and S3 released under [Apache lice ### Commands ``` NAME: - mc - unified command line interface for Minio and S3 + mc - Minio Client for S3 Compatible Object Storage USAGE: mc [global options] command [command options] [arguments...] @@ -22,19 +22,22 @@ VERSION: 0.1.0 AUTHOR: - Minio Community + Minio.io COMMANDS: - cp - ls - mb - sync - configure + cp copy objects + ls get list of objects + mb makes a bucket + config Generate configuration "/home/harsha/.minio/mc/config.json" file. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: - --help, -h show help - --version, -v print the version + --debug enable HTTP tracing + --quiet, -q disable chatty output, such as the progress bar + --get-bash-completion Generate bash completion "/home/harsha/.minio/mc/mc.bash_completion" file. + --help, -h show help + --generate-bash-completion + --version, -v print the version ``` ## Contribute @@ -57,5 +60,5 @@ $ echo 'source ${HOME}/.minio/mc/mc.bash_completion' >> ${HOME}/.bashrc ``` $ mc -configure cp h help ls mb sync +config cp h help ls mb sync ``` diff --git a/cmd-options.go b/cmd-options.go index ef88401b..6216a9a7 100644 --- a/cmd-options.go +++ b/cmd-options.go @@ -22,27 +22,27 @@ import ( var cp = cli.Command{ Name: "cp", - Usage: "", - Description: `Copies a local file or Object to another location locally or in S3.`, + Usage: "copy objects", + Description: `Copies a local file or dir or object or bucket to another location locally or in S3.`, Action: doFsCopy, Flags: []cli.Flag{ cli.BoolFlag{ Name: "recursive, r", - Usage: "recursive cp", + Usage: "recursively crawls given directory uploads to given bucket", }, }, } var ls = cli.Command{ Name: "ls", - Usage: "", + Usage: "get list of objects", Description: `List Objects and common prefixes under a prefix or all Buckets`, Action: doFsList, } var mb = cli.Command{ Name: "mb", - Usage: "", + Usage: "makes a bucket", Description: "Creates an S3 bucket", Action: doFsMb, } diff --git a/docs/index.md b/docs/index.md index cbe57093..e35fa3ce 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,6 @@ # Minio Client -mc - unified command line interface for Minio and S3 released under [Apache license v2](./LICENSE). +mc - Minio Client for S3 Compatible Object Storage released under [Apache license v2](./LICENSE). ## Install @@ -13,7 +13,7 @@ mc - unified command line interface for Minio and S3 released under [Apache lice ### Commands ``` NAME: - mc - unified command line interface for Minio and S3 + mc - Minio Client for S3 Compatible Object Storage USAGE: mc [global options] command [command options] [arguments...] @@ -22,19 +22,22 @@ VERSION: 0.1.0 AUTHOR: - Minio Community + Minio.io COMMANDS: - cp - ls - mb - sync - configure + cp copy objects + ls get list of objects + mb makes a bucket + config Generate configuration "/home/harsha/.minio/mc/config.json" file. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: - --help, -h show help - --version, -v print the version + --debug enable HTTP tracing + --quiet, -q disable chatty output, such as the progress bar + --get-bash-completion Generate bash completion "/home/harsha/.minio/mc/mc.bash_completion" file. + --help, -h show help + --generate-bash-completion + --version, -v print the version ``` ## Contribute @@ -57,5 +60,5 @@ $ echo 'source ${HOME}/.minio/mc/mc.bash_completion' >> ${HOME}/.bashrc ``` $ mc -configure cp h help ls mb sync +config cp h help ls mb sync ```