diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bash_completion/git-bug | 7 | ||||
-rw-r--r-- | misc/powershell_completion/git-bug | 4 | ||||
-rw-r--r-- | misc/zsh_completion/git-bug | 4 |
3 files changed, 14 insertions, 1 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug index bbeb6335..2088fd4d 100644 --- a/misc/bash_completion/git-bug +++ b/misc/bash_completion/git-bug @@ -347,6 +347,13 @@ _git-bug_bridge_pull() flags_with_completion=() flags_completion=() + flags+=("--no-resume") + flags+=("-n") + local_nonpersistent_flags+=("--no-resume") + flags+=("--since=") + two_word_flags+=("--since") + two_word_flags+=("-s") + local_nonpersistent_flags+=("--since=") must_have_one_flag=() must_have_one_noun=() diff --git a/misc/powershell_completion/git-bug b/misc/powershell_completion/git-bug index 9e0805f3..3a72cb26 100644 --- a/misc/powershell_completion/git-bug +++ b/misc/powershell_completion/git-bug @@ -71,6 +71,10 @@ Register-ArgumentCompleter -Native -CommandName 'git-bug' -ScriptBlock { break } 'git-bug;bridge;pull' { + [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'force importing all bugs') + [CompletionResult]::new('--no-resume', 'no-resume', [CompletionResultType]::ParameterName, 'force importing all bugs') + [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'import only bugs updated after the given date (must be a unix timestamp)') + [CompletionResult]::new('--since', 'since', [CompletionResultType]::ParameterName, 'import only bugs updated after the given date (must be a unix timestamp)') break } 'git-bug;bridge;push' { diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug index 8eaaf694..7bbd9001 100644 --- a/misc/zsh_completion/git-bug +++ b/misc/zsh_completion/git-bug @@ -151,7 +151,9 @@ function _git-bug_bridge_configure { } function _git-bug_bridge_pull { - _arguments + _arguments \ + '(-n --no-resume)'{-n,--no-resume}'[force importing all bugs]' \ + '(-s --since)'{-s,--since}'[import only bugs updated after the given date (must be a unix timestamp)]:' } function _git-bug_bridge_push { |