From fef5e8d780dcbe38899021ffb347f15bbee3986c Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Fri, 6 Mar 2020 13:49:57 -0800 Subject: [PATCH] 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. --- core/commands/dht.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/dht.go b/core/commands/dht.go index 3b1d2b15b27..fa5debdc0e0 100644 --- a/core/commands/dht.go +++ b/core/commands/dht.go @@ -536,7 +536,7 @@ identified by QmFoo. Arguments: []cmds.Argument{ cmds.StringArg("key", true, false, "The key to store the value at."), - cmds.FileArg("value", true, false, "The value to store.").EnableStdin(), + cmds.FileArg("value-file", true, false, "A path to a file containing the value to store.").EnableStdin(), }, Options: []cmds.Option{ cmds.BoolOption(dhtVerboseOptionName, "v", "Print extra information."),