@cryptotaxi247 / kubo / commits / 2eea7ba4b

shorter description for chunker option

License: MIT Signed-off-by: Enrique Erne <enrique.erne@gmail.com>

Enrique Erne committed Oct 15, 2017 at 10:29 UTC 2eea7ba4b82d34d5f17f7e40449b859db8ed9835
1 file changed +1 -1
core/commands/add.go
+1 -1
@@ -87,7 +87,7 @@ You can now refer to the added file in a gateway, like so:
87 cmds.BoolOption(onlyHashOptionName, "n", "Only chunk and hash - do not write to disk."),
88 cmds.BoolOption(wrapOptionName, "w", "Wrap files with a directory object."),
89 cmds.BoolOption(hiddenOptionName, "H", "Include files that are hidden. Only takes effect on recursive add."),
90 - cmds.StringOption(chunkerOptionName, "s", "Chunking algorithm to use. Another block size can be specified using size-[bytes]. There's also the rabin- chunker which uses rabin-[min]-[avg]-[max]").Default("size-262144"),
90 + cmds.StringOption(chunkerOptionName, "s", "Chunking algorithm, size-[bytes] or rabin-[min]-[avg]-[max]").Default("size-262144"),
91 cmds.BoolOption(pinOptionName, "Pin this object when adding.").Default(true),
92 cmds.BoolOption(rawLeavesOptionName, "Use raw blocks for leaf nodes. (experimental)"),
93 cmds.BoolOption(noCopyOptionName, "Add the file using filestore. (experimental)"),