@cryptotaxi247 / kubo / commits / eb696d9ac

object put: Formatted helptext

Matt Bell committed Nov 13, 2014 at 23:57 UTC eb696d9ac79a3e1dddd7096c83a93d4ac22088ba
1 file changed +3 -3
core/commands2/object.go
+3 -3
@@ -198,13 +198,13 @@ It reads from stdin, and the output is a base58 encoded multihash.
198
199 Data should be in the format specified by <encoding>.
200 <encoding> may be one of the following:
201 - * "protobuf"
202 - * "json"
201 + * "protobuf"
202 + * "json"
203 `,
204 },
205
206 Arguments: []cmds.Argument{
207 - cmds.FileArg("data", true, false, "Data to be stored as a DAG object\nMust be encoded as specified in <encoding>"),
207 + cmds.FileArg("data", true, false, "Data to be stored as a DAG object"),
208 cmds.StringArg("encoding", true, false, "Encoding type of <data>, either \"protobuf\" or \"json\""),
209 },
210 Run: func(req cmds.Request) (interface{}, error) {