diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-16 15:21:21 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-16 15:21:21 +0200 |
commit | d3893a5e04868fb99df28c8da62a0ee59d7e9064 (patch) | |
tree | 0f702ca72b82cd2429c4451f77baf99156525852 /commands/ls.go | |
parent | 9423e7fdb6f70afb37f567d86a97594b06d43eb1 (diff) | |
download | git-bug-d3893a5e04868fb99df28c8da62a0ee59d7e9064.tar.gz |
rework the commands thing and add a "commands" command to list all commands
Diffstat (limited to 'commands/ls.go')
-rw-r--r-- | commands/ls.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/commands/ls.go b/commands/ls.go index 1e001ddb..dea2bba2 100644 --- a/commands/ls.go +++ b/commands/ls.go @@ -29,8 +29,7 @@ func runLsBug(repo repository.Repo, args []string) error { } var lsCmd = &Command{ - Usage: func(arg0 string) { - fmt.Printf("Usage: %s ls\n", arg0) - }, - RunMethod: runLsBug, + Description: "Display a summary of all bugs", + Usage: "", + RunMethod: runLsBug, } |