aboutsummaryrefslogtreecommitdiffstats
path: root/misc/zsh_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-15 02:55:19 +0100
committerMichael Muré <batolettre@gmail.com>2020-02-15 02:55:19 +0100
commitfe3d5c95e4be5874066402b5463ada34894c7f01 (patch)
tree29f04fae0dc3d5d4883d4989012c26109ba754dc /misc/zsh_completion
parent2df72942f2b057956c7873f908b64880ab647331 (diff)
downloadgit-bug-fe3d5c95e4be5874066402b5463ada34894c7f01.tar.gz
bridges: massive refactor
- automatic flag validation and warning - generalized prompt - cleanups
Diffstat (limited to 'misc/zsh_completion')
-rw-r--r--misc/zsh_completion/git-bug13
1 files changed, 7 insertions, 6 deletions
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug
index f6d50e08..edfff683 100644
--- a/misc/zsh_completion/git-bug
+++ b/misc/zsh_completion/git-bug
@@ -194,13 +194,14 @@ function _git-bug_bridge_configure {
_arguments \
'(-n --name)'{-n,--name}'[A distinctive name to identify the bridge]:' \
'(-t --target)'{-t,--target}'[The target of the bridge. Valid values are [github,gitlab,launchpad-preview]]:' \
- '(-u --url)'{-u,--url}'[The URL of the target repository]:' \
- '(-b --base-url)'{-b,--base-url}'[The base URL of your issue tracker service]:' \
- '(-o --owner)'{-o,--owner}'[The owner of the target repository]:' \
- '(-c --credential)'{-c,--credential}'[The identifier or prefix of an already known credential for the API (see "git-bug bridge auth")]:' \
- '--token[A raw authentication token for the API]:' \
+ '(-u --url)'{-u,--url}'[The URL of the remote repository]:' \
+ '(-b --base-url)'{-b,--base-url}'[The base URL of your remote issue tracker]:' \
+ '(-l --login)'{-l,--login}'[The login on your remote issue tracker]:' \
+ '(-c --credential)'{-c,--credential}'[The identifier or prefix of an already known credential for your remote issue tracker (see "git-bug bridge auth")]:' \
+ '--token[A raw authentication token for the remote issue tracker]:' \
'--token-stdin[Will read the token from stdin and ignore --token]' \
- '(-p --project)'{-p,--project}'[The name of the target repository]:'
+ '(-o --owner)'{-o,--owner}'[The owner of the remote repository]:' \
+ '(-p --project)'{-p,--project}'[The name of the remote repository]:'
}
function _git-bug_bridge_pull {