1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-05-21 08:56:37 +08:00

Add the missing long argument for ipfs mount

License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
This commit is contained in:
Michael Muré
2015-07-18 14:59:22 +02:00
parent 8668f40915
commit 78e9794be0
2 changed files with 3 additions and 7 deletions

View File

@ -92,13 +92,9 @@ baz
baz
`,
},
Options: []cmds.Option{
// TODO longform
cmds.StringOption("f", "The path where IPFS should be mounted"),
// TODO longform
cmds.StringOption("n", "The path where IPNS should be mounted"),
cmds.StringOption("ipfs-path", "f", "The path where IPFS should be mounted"),
cmds.StringOption("ipns-path", "n", "The path where IPNS should be mounted"),
},
Run: func(req cmds.Request, res cmds.Response) {
cfg, err := req.Context().GetConfig()