diff options
author | Michael Muré <batolettre@gmail.com> | 2020-07-28 20:40:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 20:40:12 +0200 |
commit | a15ad8391f8045e9a9eced026a9cf3bb2e12564e (patch) | |
tree | 7c1ba7626fd8158be030876d44ba55daf465d694 /commands/rm.go | |
parent | 51c887ff9dd4f2a5f65d2d3de57f8a7729b1010d (diff) | |
parent | ae5c0967cec40a7dcf9804ff592a4d15f1b26569 (diff) | |
download | git-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/rm.go')
-rw-r--r-- | commands/rm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/rm.go b/commands/rm.go index 09f6a6cc..3ad4548d 100644 --- a/commands/rm.go +++ b/commands/rm.go @@ -10,7 +10,7 @@ func newRmCommand() *cobra.Command { env := newEnv() cmd := &cobra.Command{ - Use: "rm <id>", + Use: "rm ID", Short: "Remove an existing bug.", Long: "Remove an existing bug in the local repository. Note removing bugs that were imported from bridges will not remove the bug on the remote, and will only remove the local copy of the bug.", PreRunE: loadBackendEnsureUser(env), |