aboutsummaryrefslogtreecommitdiffstats
path: root/commands/commands.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-07-28 20:40:12 +0200
committerGitHub <noreply@github.com>2020-07-28 20:40:12 +0200
commita15ad8391f8045e9a9eced026a9cf3bb2e12564e (patch)
tree7c1ba7626fd8158be030876d44ba55daf465d694 /commands/commands.go
parent51c887ff9dd4f2a5f65d2d3de57f8a7729b1010d (diff)
parentae5c0967cec40a7dcf9804ff592a4d15f1b26569 (diff)
downloadgit-bug-a15ad8391f8045e9a9eced026a9cf3bb2e12564e.tar.gz
Merge pull request #436 from MichaelMure/cli-usage
commands: cleanup the command's usage to avoid warnings when generating the doc
Diffstat (limited to 'commands/commands.go')
-rw-r--r--commands/commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/commands.go b/commands/commands.go
index 103d5412..49c960ab 100644
--- a/commands/commands.go
+++ b/commands/commands.go
@@ -15,7 +15,7 @@ func newCommandsCommand() *cobra.Command {
options := commandOptions{}
cmd := &cobra.Command{
- Use: "commands [<option>...]",
+ Use: "commands",
Short: "Display available commands.",
RunE: func(cmd *cobra.Command, args []string) error {
return runCommands(env, options)