aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorAmine <hilalyamine@gmail.com>2019-11-03 17:34:51 +0100
committerGitHub <noreply@github.com>2019-11-03 17:34:51 +0100
commit163ea9c93306c387f84ff0b85c2d8fca4c01e449 (patch)
tree05ab55090bf196b940a4f6b0e4aaec9975b997bc /misc
parent16bd116971bb7abc7308e95c474b433512672432 (diff)
parent57e23c8ada0a9d921a6b68187a76eb5c8b8a407d (diff)
downloadgit-bug-163ea9c93306c387f84ff0b85c2d8fca4c01e449.tar.gz
Merge pull request #236 from MichaelMure/import-after
commands: support bridge imports after a given date
Diffstat (limited to 'misc')
-rw-r--r--misc/bash_completion/git-bug7
-rw-r--r--misc/powershell_completion/git-bug4
-rw-r--r--misc/zsh_completion/git-bug4
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..34037531 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 (ex: "200h" or "june 2 2019")')
+ [CompletionResult]::new('--since', 'since', [CompletionResultType]::ParameterName, 'import only bugs updated after the given date (ex: "200h" or "june 2 2019")')
break
}
'git-bug;bridge;push' {
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug
index 8eaaf694..9951bab9 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 (ex: "200h" or "june 2 2019")]:'
}
function _git-bug_bridge_push {