Add the missing long argument for ipfs mount
License: MIT Signed-off-by: Michael Muré <batolettre@gmail.com>
Michael Muré committed
Jul 18, 2015 at 14:59 UTC
78e9794be0da0f26e1a23c7d801c2ffe9969683b
2 files changed
+3
-7
core/commands/mount_unix.go
+2
-6
@@ -92,13 +92,9 @@ baz
92
baz
93
`,
94
},
95
-
95
Options: []cmds.Option{
97
- // TODO longform
98
- cmds.StringOption("f", "The path where IPFS should be mounted"),
99
-
100
- // TODO longform
101
- cmds.StringOption("n", "The path where IPNS should be mounted"),
96
+ cmds.StringOption("ipfs-path", "f", "The path where IPFS should be mounted"),
97
+ cmds.StringOption("ipns-path", "n", "The path where IPNS should be mounted"),
98
},
99
Run: func(req cmds.Request, res cmds.Response) {
100
cfg, err := req.Context().GetConfig()
misc/completion/ipfs-completion.bash
+1
-1
@@ -161,7 +161,7 @@ _ipfs_ls()
161
162
_ipfs_mount()
163
{
164
- _ipfs_comp "-f= -n= --help"
164
+ _ipfs_comp "--ipfs-path= --ipns-path= --help"
165
}
166
167
_ipfs_name()