Commit eb696d9a authored by Matt Bell's avatar Matt Bell Committed by Juan Batiz-Benet

object put: Formatted helptext

parent 537f94a3
...@@ -198,13 +198,13 @@ It reads from stdin, and the output is a base58 encoded multihash. ...@@ -198,13 +198,13 @@ It reads from stdin, and the output is a base58 encoded multihash.
Data should be in the format specified by <encoding>. Data should be in the format specified by <encoding>.
<encoding> may be one of the following: <encoding> may be one of the following:
* "protobuf" * "protobuf"
* "json" * "json"
`, `,
}, },
Arguments: []cmds.Argument{ Arguments: []cmds.Argument{
cmds.FileArg("data", true, false, "Data to be stored as a DAG object\nMust be encoded as specified in <encoding>"), cmds.FileArg("data", true, false, "Data to be stored as a DAG object"),
cmds.StringArg("encoding", true, false, "Encoding type of <data>, either \"protobuf\" or \"json\""), cmds.StringArg("encoding", true, false, "Encoding type of <data>, either \"protobuf\" or \"json\""),
}, },
Run: func(req cmds.Request) (interface{}, error) { Run: func(req cmds.Request) (interface{}, error) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment