diff options
author | Michael Muré <batolettre@gmail.com> | 2019-11-26 19:46:50 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-11-26 19:46:50 +0100 |
commit | afe69d0c93bf9a4aaa0b6b39e8fce48c2d4ec346 (patch) | |
tree | caeacc43a4650e31b7a99811f1990bcd0f7ece45 /misc | |
parent | 26a62692415868dab906bc702504e83532cb09b9 (diff) | |
download | git-bug-afe69d0c93bf9a4aaa0b6b39e8fce48c2d4ec346.tar.gz |
github: tiny cleanups of the configurator
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bash_completion/git-bug | 4 | ||||
-rw-r--r-- | misc/powershell_completion/git-bug | 2 | ||||
-rw-r--r-- | misc/zsh_completion/git-bug | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug index 9dc3ac87..8b850201 100644 --- a/misc/bash_completion/git-bug +++ b/misc/bash_completion/git-bug @@ -408,6 +408,10 @@ _git-bug_bridge_configure() two_word_flags+=("--token") two_word_flags+=("-T") local_nonpersistent_flags+=("--token=") + flags+=("--token-id=") + two_word_flags+=("--token-id") + two_word_flags+=("-i") + local_nonpersistent_flags+=("--token-id=") flags+=("--token-stdin") local_nonpersistent_flags+=("--token-stdin") flags+=("--project=") diff --git a/misc/powershell_completion/git-bug b/misc/powershell_completion/git-bug index 5f043932..bdf08f42 100644 --- a/misc/powershell_completion/git-bug +++ b/misc/powershell_completion/git-bug @@ -83,6 +83,8 @@ Register-ArgumentCompleter -Native -CommandName 'git-bug' -ScriptBlock { [CompletionResult]::new('--owner', 'owner', [CompletionResultType]::ParameterName, 'The owner of the target repository') [CompletionResult]::new('-T', 'T', [CompletionResultType]::ParameterName, 'The authentication token for the API') [CompletionResult]::new('--token', 'token', [CompletionResultType]::ParameterName, 'The authentication token for the API') + [CompletionResult]::new('-i', 'i', [CompletionResultType]::ParameterName, 'The authentication token identifier for the API') + [CompletionResult]::new('--token-id', 'token-id', [CompletionResultType]::ParameterName, 'The authentication token identifier for the API') [CompletionResult]::new('--token-stdin', 'token-stdin', [CompletionResultType]::ParameterName, 'Will read the token from stdin and ignore --token') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'The name of the target repository') [CompletionResult]::new('--project', 'project', [CompletionResultType]::ParameterName, 'The name of the target repository') diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug index 230061dd..7a4580c0 100644 --- a/misc/zsh_completion/git-bug +++ b/misc/zsh_completion/git-bug @@ -195,6 +195,7 @@ function _git-bug_bridge_configure { '(-u --url)'{-u,--url}'[The URL of the target repository]:' \ '(-o --owner)'{-o,--owner}'[The owner of the target repository]:' \ '(-T --token)'{-T,--token}'[The authentication token for the API]:' \ + '(-i --token-id)'{-i,--token-id}'[The authentication token identifier for the API]:' \ '--token-stdin[Will read the token from stdin and ignore --token]' \ '(-p --project)'{-p,--project}'[The name of the target repository]:' } |