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:
@ -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()
|
||||
|
@ -161,7 +161,7 @@ _ipfs_ls()
|
||||
|
||||
_ipfs_mount()
|
||||
{
|
||||
_ipfs_comp "-f= -n= --help"
|
||||
_ipfs_comp "--ipfs-path= --ipns-path= --help"
|
||||
}
|
||||
|
||||
_ipfs_name()
|
||||
|
Reference in New Issue
Block a user