@cryptotaxi247 / kubo / commits / 50a44f996

Added ticks, `the`, and defaults to `get`

License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>

Richard Littauer committed Feb 18, 2016 at 18:11 UTC 50a44f9962e2a9a57d4c1771971c328c81da6e55
1 file changed +5 -5
core/commands/get.go
+5 -5
@@ -26,7 +26,7 @@ var GetCmd = &cmds.Command{
26 ShortDescription: `
27 Retrieves the object named by <ipfs-or-ipns-path> and stores the data to disk.
28
29 -By default, the output will be stored at ./<ipfs-path>, but an alternate path
29 +By default, the output will be stored at './<ipfs-path>', but an alternate path
30 can be specified with '--output=<path>' or '-o=<path>'.
31
32 To output a TAR archive instead of unpacked files, use '--archive' or '-a'.
@@ -40,10 +40,10 @@ may also specify the level of compression by specifying '-l=<1-9>'.
40 cmds.StringArg("ipfs-path", true, false, "The path to the IPFS object(s) to be outputted.").EnableStdin(),
41 },
42 Options: []cmds.Option{
43 - cmds.StringOption("output", "o", "The path where output should be stored."),
44 - cmds.BoolOption("archive", "a", "Output a TAR archive."),
45 - cmds.BoolOption("compress", "C", "Compress the output with GZIP compression."),
46 - cmds.IntOption("compression-level", "l", "The level of compression (1-9)."),
43 + cmds.StringOption("output", "o", "The path where the output should be stored."),
44 + cmds.BoolOption("archive", "a", "Output a TAR archive. Default: false."),
45 + cmds.BoolOption("compress", "C", "Compress the output with GZIP compression. Default: false."),
46 + cmds.IntOption("compression-level", "l", "The level of compression (1-9). Default: -1."),
47 },
48 PreRun: func(req cmds.Request) error {
49 _, err := getCompressOptions(req)