core/commands2: Better formatted descriptions for 'mount'

This commit is contained in:
Matt Bell 2014-11-08 01:51:13 -08:00 committed by Juan Batiz-Benet
parent 2b8ef917b8
commit c8696a8d32

View File

@ -28,12 +28,12 @@ not be listable, as it is virtual. Accessing known paths directly.
// TODO text: specify a mountpoint for ipfs
// TODO longform
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 longform
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) {
ctx := req.Context()