aboutsummaryrefslogtreecommitdiffstats
path: root/misc/zsh_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-10 14:46:55 +0100
committerMichael Muré <batolettre@gmail.com>2019-11-10 14:53:40 +0100
commite2445edcb99ed0aa7fcd40fe7484d71e73367334 (patch)
treef5f38c8d6d6f426631fda7feaddef34332b6040c /misc/zsh_completion
parent45653bd31d9ec91123ee42803cd5c46b43d18528 (diff)
downloadgit-bug-e2445edcb99ed0aa7fcd40fe7484d71e73367334.tar.gz
bridge: various improvement on the global token PR
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 {