diff options
author | Amine <hilalyamine@gmail.com> | 2019-11-26 22:05:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-26 22:05:32 +0100 |
commit | 5207fb41091a382cc8c0c8db2dc6f7c10bbb8a77 (patch) | |
tree | a85ca33f431caa2bb06ad1dc1a77965ce9fa1feb /misc | |
parent | 26a62692415868dab906bc702504e83532cb09b9 (diff) | |
parent | 1a1e313f3028243680c29520d96f722092a2bd38 (diff) | |
download | git-bug-5207fb41091a382cc8c0c8db2dc6f7c10bbb8a77.tar.gz |
Merge pull request #263 from MichaelMure/configure-cleanup
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]:' } |