diff options
Diffstat (limited to 'misc/powershell_completion')
-rw-r--r-- | misc/powershell_completion/git-bug | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/powershell_completion/git-bug b/misc/powershell_completion/git-bug index 094fa254..6a7bf0c3 100644 --- a/misc/powershell_completion/git-bug +++ b/misc/powershell_completion/git-bug @@ -86,7 +86,8 @@ Register-ArgumentCompleter -Native -CommandName 'git-bug' -ScriptBlock { } 'git-bug;bridge;token' { [CompletionResult]::new('add', 'add', [CompletionResultType]::ParameterValue, 'Store a new token') - [CompletionResult]::new('rm', 'rm', [CompletionResultType]::ParameterValue, 'Remove token by Id.') + [CompletionResult]::new('rm', 'rm', [CompletionResultType]::ParameterValue, 'Remove a token.') + [CompletionResult]::new('show', 'show', [CompletionResultType]::ParameterValue, 'Display a token.') break } 'git-bug;bridge;token;add' { @@ -97,6 +98,9 @@ Register-ArgumentCompleter -Native -CommandName 'git-bug' -ScriptBlock { 'git-bug;bridge;token;rm' { break } + 'git-bug;bridge;token;show' { + break + } 'git-bug;commands' { [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'Output the command description as well as Markdown compatible comment') [CompletionResult]::new('--pretty', 'pretty', [CompletionResultType]::ParameterName, 'Output the command description as well as Markdown compatible comment') |