diff options
author | Michael Muré <batolettre@gmail.com> | 2018-10-17 20:47:31 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-10-17 20:47:31 +0200 |
commit | b08e28e67e64d09f615bf6f863fd8d5f1b2f8f7f (patch) | |
tree | b9b199be67565e27ec30f79cdb1df1acdd155b08 /misc | |
parent | 7a511f9a13f3d1064fd11c9146e6b21cb961a8b2 (diff) | |
download | git-bug-b08e28e67e64d09f615bf6f863fd8d5f1b2f8f7f.tar.gz |
commands: fix "comment add" flags set on the wrong command
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bash_completion/git-bug | 12 |
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=() |