提交 c8696a8d 作者: Matt Bell 提交者: Juan Batiz-Benet

core/commands2: Better formatted descriptions for 'mount'

上级 2b8ef917
......@@ -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()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论