aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bash_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-10-17 20:47:31 +0200
committerMichael Muré <batolettre@gmail.com>2018-10-17 20:47:31 +0200
commitb08e28e67e64d09f615bf6f863fd8d5f1b2f8f7f (patch)
treeb9b199be67565e27ec30f79cdb1df1acdd155b08 /misc/bash_completion
parent7a511f9a13f3d1064fd11c9146e6b21cb961a8b2 (diff)
downloadgit-bug-b08e28e67e64d09f615bf6f863fd8d5f1b2f8f7f.tar.gz
commands: fix "comment add" flags set on the wrong command
Diffstat (limited to 'misc/bash_completion')
-rw-r--r--misc/bash_completion/git-bug12
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index 69f73d2c..c5e8ddf3 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -397,6 +397,12 @@ _git-bug_comment_add()
flags_with_completion=()
flags_completion=()
+ flags+=("--file=")
+ two_word_flags+=("-F")
+ local_nonpersistent_flags+=("--file=")
+ flags+=("--message=")
+ two_word_flags+=("-m")
+ local_nonpersistent_flags+=("--message=")
must_have_one_flag=()
must_have_one_noun=()
@@ -418,12 +424,6 @@ _git-bug_comment()
flags_with_completion=()
flags_completion=()
- flags+=("--file=")
- two_word_flags+=("-F")
- local_nonpersistent_flags+=("--file=")
- flags+=("--message=")
- two_word_flags+=("-m")
- local_nonpersistent_flags+=("--message=")
must_have_one_flag=()
must_have_one_noun=()