aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoramine <hilalyamine@gmail.com>2019-11-08 14:55:27 +0100
committeramine <hilalyamine@gmail.com>2019-11-09 14:55:27 +0100
commit45653bd31d9ec91123ee42803cd5c46b43d18528 (patch)
treeee4cd8df30b59766fb3384d3a0e8d47e372823bc /misc
parentbbbf3c6c7f245ea2ddc9d31639e7ebac50eeac2d (diff)
downloadgit-bug-45653bd31d9ec91123ee42803cd5c46b43d18528.tar.gz
token: regenerate documentation and fix imports
Diffstat (limited to 'misc')
-rw-r--r--misc/bash_completion/git-bug7
-rw-r--r--misc/powershell_completion/git-bug4
-rw-r--r--misc/zsh_completion/git-bug4
3 files changed, 1 insertions, 14 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index 9c719949..e6a19626 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -414,9 +414,6 @@ _git-bug_bridge_token_add()
flags_with_completion=()
flags_completion=()
- flags+=("--global")
- flags+=("-g")
- local_nonpersistent_flags+=("--global")
flags+=("--value=")
two_word_flags+=("--value")
two_word_flags+=("-v")
@@ -425,10 +422,6 @@ _git-bug_bridge_token_add()
two_word_flags+=("--target")
two_word_flags+=("-t")
local_nonpersistent_flags+=("--target=")
- flags+=("--scopes=")
- two_word_flags+=("--scopes")
- two_word_flags+=("-s")
- local_nonpersistent_flags+=("--scopes=")
must_have_one_flag=()
must_have_one_noun=()
diff --git a/misc/powershell_completion/git-bug b/misc/powershell_completion/git-bug
index d92bc04b..99265bbb 100644
--- a/misc/powershell_completion/git-bug
+++ b/misc/powershell_completion/git-bug
@@ -94,14 +94,10 @@ Register-ArgumentCompleter -Native -CommandName 'git-bug' -ScriptBlock {
break
}
'git-bug;bridge;token;add' {
- [CompletionResult]::new('-g', 'g', [CompletionResultType]::ParameterName, '')
- [CompletionResult]::new('--global', 'global', [CompletionResultType]::ParameterName, '')
[CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, '')
[CompletionResult]::new('--value', 'value', [CompletionResultType]::ParameterName, '')
[CompletionResult]::new('-t', 't', [CompletionResultType]::ParameterName, '')
[CompletionResult]::new('--target', 'target', [CompletionResultType]::ParameterName, '')
- [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, '')
- [CompletionResult]::new('--scopes', 'scopes', [CompletionResultType]::ParameterName, '')
break
}
'git-bug;bridge;token;rm' {
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug
index d9da4ac2..e8c48cb6 100644
--- a/misc/zsh_completion/git-bug
+++ b/misc/zsh_completion/git-bug
@@ -200,10 +200,8 @@ function _git-bug_bridge_token {
function _git-bug_bridge_token_add {
_arguments \
- '(-g --global)'{-g,--global}'[]' \
'(-v --value)'{-v,--value}'[]:' \
- '(-t --target)'{-t,--target}'[]:' \
- '(*-s *--scopes)'{\*-s,\*--scopes}'[]:'
+ '(-t --target)'{-t,--target}'[]:'
}
function _git-bug_bridge_token_rm {