mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-26 21:07:45 +08:00
fix arg bug
This commit is contained in:
parent
33dfa6f640
commit
ee1ba164d0
@ -13,7 +13,6 @@ import (
|
||||
"github.com/jbenet/go-ipfs/daemon"
|
||||
ipns "github.com/jbenet/go-ipfs/fuse/ipns"
|
||||
rofs "github.com/jbenet/go-ipfs/fuse/readonly"
|
||||
u "github.com/jbenet/go-ipfs/util"
|
||||
)
|
||||
|
||||
var cmdIpfsMount = &commander.Command{
|
||||
@ -36,11 +35,6 @@ func init() {
|
||||
}
|
||||
|
||||
func mountCmd(c *commander.Command, inp []string) error {
|
||||
if len(inp) < 1 || len(inp[0]) == 0 {
|
||||
u.POut(c.Long)
|
||||
return nil
|
||||
}
|
||||
|
||||
conf, err := getConfigDir(c.Parent)
|
||||
if err != nil {
|
||||
fmt.Println("Couldnt get config dir")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user