Skip to content

Commit

Permalink
Merge pull request #2369 from ipfs/docs/get-command
Browse files Browse the repository at this point in the history
Added ticks, `the`, and defaults to `get`
  • Loading branch information
whyrusleeping committed Feb 19, 2016
2 parents f8eefba + 50a44f9 commit 944f749
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/commands/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var GetCmd = &cmds.Command{
ShortDescription: `
Retrieves the object named by <ipfs-or-ipns-path> and stores the data to disk.
By default, the output will be stored at ./<ipfs-path>, but an alternate path
By default, the output will be stored at './<ipfs-path>', but an alternate path
can be specified with '--output=<path>' or '-o=<path>'.
To output a TAR archive instead of unpacked files, use '--archive' or '-a'.
Expand All @@ -40,10 +40,10 @@ may also specify the level of compression by specifying '-l=<1-9>'.
cmds.StringArg("ipfs-path", true, false, "The path to the IPFS object(s) to be outputted.").EnableStdin(),
},
Options: []cmds.Option{
cmds.StringOption("output", "o", "The path where output should be stored."),
cmds.BoolOption("archive", "a", "Output a TAR archive."),
cmds.BoolOption("compress", "C", "Compress the output with GZIP compression."),
cmds.IntOption("compression-level", "l", "The level of compression (1-9)."),
cmds.StringOption("output", "o", "The path where the output should be stored."),
cmds.BoolOption("archive", "a", "Output a TAR archive. Default: false."),
cmds.BoolOption("compress", "C", "Compress the output with GZIP compression. Default: false."),
cmds.IntOption("compression-level", "l", "The level of compression (1-9). Default: -1."),
},
PreRun: func(req cmds.Request) error {
_, err := getCompressOptions(req)
Expand Down

0 comments on commit 944f749

Please sign in to comment.