mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-01 19:24:14 +08:00
shorter description for chunker option
License: MIT Signed-off-by: Enrique Erne <enrique.erne@gmail.com>
This commit is contained in:
@ -87,7 +87,7 @@ You can now refer to the added file in a gateway, like so:
|
||||
cmds.BoolOption(onlyHashOptionName, "n", "Only chunk and hash - do not write to disk."),
|
||||
cmds.BoolOption(wrapOptionName, "w", "Wrap files with a directory object."),
|
||||
cmds.BoolOption(hiddenOptionName, "H", "Include files that are hidden. Only takes effect on recursive add."),
|
||||
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"),
|
||||
cmds.StringOption(chunkerOptionName, "s", "Chunking algorithm, size-[bytes] or rabin-[min]-[avg]-[max]").Default("size-262144"),
|
||||
cmds.BoolOption(pinOptionName, "Pin this object when adding.").Default(true),
|
||||
cmds.BoolOption(rawLeavesOptionName, "Use raw blocks for leaf nodes. (experimental)"),
|
||||
cmds.BoolOption(noCopyOptionName, "Add the file using filestore. (experimental)"),
|
||||
|
Reference in New Issue
Block a user