aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-16 15:24:34 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-16 15:26:51 +0200
commitd659d74131996cea06e39f90114e21b36e61f6fc (patch)
treea9d27de9e8ef4702f4894d824685659471bd168b
parent6f4661a9e37266c6a2638b5bda220efe89d0f583 (diff)
downloadgit-bug-d659d74131996cea06e39f90114e21b36e61f6fc.tar.gz
fix build
-rw-r--r--commands/pull.go1
-rw-r--r--commands/push.go1
-rw-r--r--git-bug.go2
3 files changed, 1 insertions, 3 deletions
diff --git a/commands/pull.go b/commands/pull.go
index dbff4fb1..eefcc641 100644
--- a/commands/pull.go
+++ b/commands/pull.go
@@ -2,7 +2,6 @@ package commands
import (
"errors"
- "fmt"
"github.com/MichaelMure/git-bug/bug"
"github.com/MichaelMure/git-bug/repository"
)
diff --git a/commands/push.go b/commands/push.go
index acc3564a..2f7d9b29 100644
--- a/commands/push.go
+++ b/commands/push.go
@@ -2,7 +2,6 @@ package commands
import (
"errors"
- "fmt"
"github.com/MichaelMure/git-bug/bug"
"github.com/MichaelMure/git-bug/repository"
)
diff --git a/git-bug.go b/git-bug.go
index 1b430aba..cb0bc7b1 100644
--- a/git-bug.go
+++ b/git-bug.go
@@ -35,7 +35,7 @@ func help(command string) {
rootUsage()
return
}
- subcommand.Usage(rootCommandName)
+ subcommand.PrintUsage(rootCommandName, command)
}
func main() {