diff --git a/commands/pull.go b/commands/pull.go index dbff4fb1a1cb41e9637e276836c49e64de18f2ec..eefcc641e41647009143ac7854b7a53ead248540 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 acc3564a1212351bd6850bf29bb412b2a6068529..2f7d9b297c4010cf8e0836cda4258dbf28a89cd7 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 1b430abafd86145a689b814ff78fcd398acf4459..cb0bc7b1e807bfb31f295e4163fdbc89a541740b 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() {