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

core/commands2: Better formatted descriptions for 'mount'

parent 2b8ef917
...@@ -28,12 +28,12 @@ not be listable, as it is virtual. Accessing known paths directly. ...@@ -28,12 +28,12 @@ not be listable, as it is virtual. Accessing known paths directly.
// TODO text: specify a mountpoint for ipfs // TODO text: specify a mountpoint for ipfs
// TODO longform // TODO longform
cmds.Option{[]string{"f"}, cmds.String, cmds.Option{[]string{"f"}, cmds.String,
"The path where IPFS should be mounted (default is '/ipfs')"}, "The path where IPFS should be mounted\n(default is '/ipfs')"},
// TODO text: specify a mountpoint for ipns // TODO text: specify a mountpoint for ipns
// TODO longform // TODO longform
cmds.Option{[]string{"n"}, cmds.String, cmds.Option{[]string{"n"}, cmds.String,
"The path where IPNS should be mounted (default is '/ipns')"}, "The path where IPNS should be mounted\n(default is '/ipns')"},
}, },
Run: func(res cmds.Response, req cmds.Request) { Run: func(res cmds.Response, req cmds.Request) {
ctx := req.Context() ctx := req.Context()
......
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