aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bash_completion
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bash_completion')
-rw-r--r--misc/bash_completion/git-bug30
1 files changed, 30 insertions, 0 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index 3870e3a0..8551223d 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -799,6 +799,35 @@ _git-bug_title()
noun_aliases=()
}
+_git-bug_version()
+{
+ last_command="git-bug_version"
+
+ command_aliases=()
+
+ commands=()
+
+ flags=()
+ two_word_flags=()
+ local_nonpersistent_flags=()
+ flags_with_completion=()
+ flags_completion=()
+
+ flags+=("--number")
+ flags+=("-n")
+ local_nonpersistent_flags+=("--number")
+ flags+=("--commit")
+ flags+=("-c")
+ local_nonpersistent_flags+=("--commit")
+ flags+=("--all")
+ flags+=("-a")
+ local_nonpersistent_flags+=("--all")
+
+ must_have_one_flag=()
+ must_have_one_noun=()
+ noun_aliases=()
+}
+
_git-bug_webui()
{
last_command="git-bug_webui"
@@ -845,6 +874,7 @@ _git-bug_root_command()
commands+=("status")
commands+=("termui")
commands+=("title")
+ commands+=("version")
commands+=("webui")
flags=()