@cryptotaxi247 / kubo / commits / fef5e8d78

doc(commands): document that `dht put` takes a file

Turns out that our CLI help text doesn't indicate whether or not a command takes a file.

Steven Allen committed Mar 6, 2020 at 13:49 UTC fef5e8d780dcbe38899021ffb347f15bbee3986c
1 file changed +1 -1
core/commands/dht.go
+1 -1
@@ -536,7 +536,7 @@ identified by QmFoo.
536
537 Arguments: []cmds.Argument{
538 cmds.StringArg("key", true, false, "The key to store the value at."),
539 - cmds.FileArg("value", true, false, "The value to store.").EnableStdin(),
539 + cmds.FileArg("value-file", true, false, "A path to a file containing the value to store.").EnableStdin(),
540 },
541 Options: []cmds.Option{
542 cmds.BoolOption(dhtVerboseOptionName, "v", "Print extra information."),