From b08e28e67e64d09f615bf6f863fd8d5f1b2f8f7f Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 17 Oct 2018 20:47:31 +0200 Subject: commands: fix "comment add" flags set on the wrong command --- misc/bash_completion/git-bug | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'misc/bash_completion') 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=() -- cgit