1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-01 19:24:14 +08:00

Merge pull request #1497 from MichaelMure/mount-options

Add the missing long argument for ipfs mount
This commit is contained in:
Juan Benet
2015-07-19 16:07:49 -07:00
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()

View File

@ -161,7 +161,7 @@ _ipfs_ls()
_ipfs_mount()
{
_ipfs_comp "-f= -n= --help"
_ipfs_comp "--ipfs-path= --ipns-path= --help"
}
_ipfs_name()