1
0
mirror of https://github.com/minio/mc.git synced 2025-11-14 23:42:27 +03:00

Make some doc changes to cat cmd

This commit is contained in:
Harshavardhana
2015-04-23 20:49:21 -07:00
parent 86c5986df3
commit bc68f1d9f4
3 changed files with 61 additions and 21 deletions

View File

@@ -28,7 +28,7 @@ import (
var (
catCmd = cli.Command{
Name: "cat",
Usage: "Copy an object to standard out",
Usage: "Concantenate an object to standard output",
Action: runCatCmd,
CustomHelpTemplate: `NAME:
mc {{.Name}} - {{.Usage}}
@@ -44,11 +44,11 @@ OPTIONS:
{{end}}{{ end }}
EXAMPLES:
1. Copy an object from Amazon S3 object storage to standard out.
$ mc {{.Name}} https://s3.amazonaws.com/jukebox/klingon_opera_aktuh_maylotah.ogg
1. Concantenate an object from Amazon S3 object storage to mplayer standard input
$ mc {{.Name}} https://s3.amazonaws.com/jukebox/klingon_opera_aktuh_maylotah.ogg | mplayer -
2. Copy an object from the file system to standard out.
$ mc {{.Name}} klingon_opera_aktuh_maylotah.ogg
2. Concantenate a file from local filesystem to standard output.
$ mc {{.Name}} khitomer-accords.txt
`,
}