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 /misc/zsh_completion | |
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 'misc/zsh_completion')
-rw-r--r-- | misc/zsh_completion/git-bug | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug index fbd52be5..4ae10382 100644 --- a/misc/zsh_completion/git-bug +++ b/misc/zsh_completion/git-bug @@ -22,6 +22,7 @@ function _git-bug { "ls-label:List valid labels." "pull:Pull bugs update from a git remote." "push:Push bugs update to a git remote." + "rm:Remove an existing bug." "select:Select a bug for implicit use in future commands." "show:Display the details of a bug." "status:Display or change a bug status." @@ -69,6 +70,9 @@ function _git-bug { push) _git-bug_push ;; + rm) + _git-bug_rm + ;; select) _git-bug_select ;; @@ -323,6 +327,10 @@ function _git-bug_push { _arguments } +function _git-bug_rm { + _arguments +} + function _git-bug_select { _arguments } |