From de5565b5f9830556afa7bb5a95fa4e3f27a755c5 Mon Sep 17 00:00:00 2001 From: vince Date: Sun, 14 Jun 2020 08:41:50 +0800 Subject: ls: Add support to ls dump bug information in specific formats This adds an optional flag to the ls command that allows users to specify the format they wish to dump the output as. Currently, supported parameters are 'default', 'plain' and 'json'. --- misc/bash_completion/git-bug | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'misc/bash_completion') diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug index b86edb9f..93c75b8e 100644 --- a/misc/bash_completion/git-bug +++ b/misc/bash_completion/git-bug @@ -807,6 +807,10 @@ _git-bug_ls() two_word_flags+=("--direction") two_word_flags+=("-d") local_nonpersistent_flags+=("--direction=") + flags+=("--format=") + two_word_flags+=("--format") + two_word_flags+=("-f") + local_nonpersistent_flags+=("--format=") must_have_one_flag=() must_have_one_noun=() -- cgit