diff options
author | Michael Muré <batolettre@gmail.com> | 2019-11-10 14:46:55 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-11-10 14:53:40 +0100 |
commit | e2445edcb99ed0aa7fcd40fe7484d71e73367334 (patch) | |
tree | f5f38c8d6d6f426631fda7feaddef34332b6040c /misc/powershell_completion | |
parent | 45653bd31d9ec91123ee42803cd5c46b43d18528 (diff) | |
download | git-bug-e2445edcb99ed0aa7fcd40fe7484d71e73367334.tar.gz |
bridge: various improvement on the global token PR
Diffstat (limited to 'misc/powershell_completion')
-rw-r--r-- | misc/powershell_completion/git-bug | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/misc/powershell_completion/git-bug b/misc/powershell_completion/git-bug index 99265bbb..094fa254 100644 --- a/misc/powershell_completion/git-bug +++ b/misc/powershell_completion/git-bug @@ -52,7 +52,7 @@ Register-ArgumentCompleter -Native -CommandName 'git-bug' -ScriptBlock { [CompletionResult]::new('pull', 'pull', [CompletionResultType]::ParameterValue, 'Pull updates.') [CompletionResult]::new('push', 'push', [CompletionResultType]::ParameterValue, 'Push updates.') [CompletionResult]::new('rm', 'rm', [CompletionResultType]::ParameterValue, 'Delete a configured bridge.') - [CompletionResult]::new('token', 'token', [CompletionResultType]::ParameterValue, 'List all stored tokens.') + [CompletionResult]::new('token', 'token', [CompletionResultType]::ParameterValue, 'List all known tokens.') break } 'git-bug;bridge;configure' { @@ -85,19 +85,13 @@ Register-ArgumentCompleter -Native -CommandName 'git-bug' -ScriptBlock { break } 'git-bug;bridge;token' { - [CompletionResult]::new('-l', 'l', [CompletionResultType]::ParameterName, '') - [CompletionResult]::new('--local', 'local', [CompletionResultType]::ParameterName, '') - [CompletionResult]::new('-g', 'g', [CompletionResultType]::ParameterName, '') - [CompletionResult]::new('--global', 'global', [CompletionResultType]::ParameterName, '') - [CompletionResult]::new('add', 'add', [CompletionResultType]::ParameterValue, 'Create and store a new token') + [CompletionResult]::new('add', 'add', [CompletionResultType]::ParameterValue, 'Store a new token') [CompletionResult]::new('rm', 'rm', [CompletionResultType]::ParameterValue, 'Remove token by Id.') break } 'git-bug;bridge;token;add' { - [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('-t', 't', [CompletionResultType]::ParameterName, 'The target of the bridge. Valid values are [github,gitlab,launchpad-preview]') + [CompletionResult]::new('--target', 'target', [CompletionResultType]::ParameterName, 'The target of the bridge. Valid values are [github,gitlab,launchpad-preview]') break } 'git-bug;bridge;token;rm' { |