fix arg bug
Juan Batiz-Benet committed
Oct 2, 2014 at 00:09 UTC
ee1ba164d0eda69ce7b6d1739e293f14bd67de2b
1 file changed
-6
cmd/ipfs/mount_unix.go
-6
@@ -13,7 +13,6 @@ import (
13
"github.com/jbenet/go-ipfs/daemon"
14
ipns "github.com/jbenet/go-ipfs/fuse/ipns"
15
rofs "github.com/jbenet/go-ipfs/fuse/readonly"
16
- u "github.com/jbenet/go-ipfs/util"
16
)
17
18
var cmdIpfsMount = &commander.Command{
@@ -36,11 +35,6 @@ func init() {
35
}
36
37
func mountCmd(c *commander.Command, inp []string) error {
39
- if len(inp) < 1 || len(inp[0]) == 0 {
40
- u.POut(c.Long)
41
- return nil
42
- }
43
-
38
conf, err := getConfigDir(c.Parent)
39
if err != nil {
40
fmt.Println("Couldnt get config dir")