aboutsummaryrefslogtreecommitdiffstats
path: root/misc/zsh_completion
diff options
context:
space:
mode:
Diffstat (limited to 'misc/zsh_completion')
-rw-r--r--misc/zsh_completion/git-bug9
1 files changed, 3 insertions, 6 deletions
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug
index e8c48cb6..7f5f6231 100644
--- a/misc/zsh_completion/git-bug
+++ b/misc/zsh_completion/git-bug
@@ -118,7 +118,7 @@ function _git-bug_bridge {
"pull:Pull updates."
"push:Push updates."
"rm:Delete a configured bridge."
- "token:List all stored tokens."
+ "token:List all known tokens."
)
_describe "command" commands
;;
@@ -173,15 +173,13 @@ function _git-bug_bridge_token {
local -a commands
_arguments -C \
- '(-l --local)'{-l,--local}'[]' \
- '(-g --global)'{-g,--global}'[]' \
"1: :->cmnds" \
"*::arg:->args"
case $state in
cmnds)
commands=(
- "add:Create and store a new token"
+ "add:Store a new token"
"rm:Remove token by Id."
)
_describe "command" commands
@@ -200,8 +198,7 @@ function _git-bug_bridge_token {
function _git-bug_bridge_token_add {
_arguments \
- '(-v --value)'{-v,--value}'[]:' \
- '(-t --target)'{-t,--target}'[]:'
+ '(-t --target)'{-t,--target}'[The target of the bridge. Valid values are [github,gitlab,launchpad-preview]]:'
}
function _git-bug_bridge_token_rm {