From f8cf3fea035d7f0ad0287166c3a5016777acf5ad Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 10 Nov 2019 15:50:56 +0100 Subject: cli: add bridge token show --- misc/zsh_completion/git-bug | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'misc/zsh_completion') diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug index 7f5f6231..f0ff7edf 100644 --- a/misc/zsh_completion/git-bug +++ b/misc/zsh_completion/git-bug @@ -180,7 +180,8 @@ function _git-bug_bridge_token { cmnds) commands=( "add:Store a new token" - "rm:Remove token by Id." + "rm:Remove a token." + "show:Display a token." ) _describe "command" commands ;; @@ -193,6 +194,9 @@ function _git-bug_bridge_token { rm) _git-bug_bridge_token_rm ;; + show) + _git-bug_bridge_token_show + ;; esac } @@ -205,6 +209,10 @@ function _git-bug_bridge_token_rm { _arguments } +function _git-bug_bridge_token_show { + _arguments +} + function _git-bug_commands { _arguments \ '(-p --pretty)'{-p,--pretty}'[Output the command description as well as Markdown compatible comment]' -- cgit