From c2774dcf23d94a187f6679395e373c6fa1c627e1 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 15 Jul 2018 09:26:11 +0200 Subject: add a "comment" command --- commands/ls.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'commands/ls.go') diff --git a/commands/ls.go b/commands/ls.go index 631afb5e..1e001ddb 100644 --- a/commands/ls.go +++ b/commands/ls.go @@ -6,7 +6,7 @@ import ( "github.com/MichaelMure/git-bug/repository" ) -func RunLsBug(repo repository.Repo, args []string) error { +func runLsBug(repo repository.Repo, args []string) error { refs, err := repo.ListRefs(b.BugsRefPattern) if err != nil { @@ -30,7 +30,7 @@ func RunLsBug(repo repository.Repo, args []string) error { var lsCmd = &Command{ Usage: func(arg0 string) { - fmt.Printf("Usage: %s\n", arg0) + fmt.Printf("Usage: %s ls\n", arg0) }, - RunMethod: RunLsBug, + RunMethod: runLsBug, } -- cgit