From d3f2fb0d1808ce512092707978390a42b6e2d0fd Mon Sep 17 00:00:00 2001 From: Steve Moyer Date: Tue, 16 Aug 2022 08:01:17 -0400 Subject: [PATCH] docs(847): add compact to docs and bash for ls command's format flag --- commands/ls.go | 4 ++-- doc/man/git-bug-ls.1 | 2 +- doc/md/git-bug_ls.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/ls.go b/commands/ls.go index da5ea8ce..61724f2a 100644 --- a/commands/ls.go +++ b/commands/ls.go @@ -91,9 +91,9 @@ git bug ls status:open --by creation "foo bar" baz "Select the sorting direction. Valid values are [asc,desc]") cmd.RegisterFlagCompletionFunc("direction", completeFrom([]string{"asc", "desc"})) flags.StringVarP(&options.outputFormat, "format", "f", "default", - "Select the output formatting style. Valid values are [default,plain,json,org-mode]") + "Select the output formatting style. Valid values are [default,plain,compact,json,org-mode]") cmd.RegisterFlagCompletionFunc("format", - completeFrom([]string{"default", "plain", "json", "org-mode"})) + completeFrom([]string{"default", "plain", "compact", "json", "org-mode"})) return cmd } diff --git a/doc/man/git-bug-ls.1 b/doc/man/git-bug-ls.1 index 61a37610..873cf68c 100644 --- a/doc/man/git-bug-ls.1 +++ b/doc/man/git-bug-ls.1 @@ -62,7 +62,7 @@ You can pass an additional query to filter and order the list. This query can be .PP \fB-f\fP, \fB--format\fP="default" - Select the output formatting style. Valid values are [default,plain,json,org-mode] + Select the output formatting style. Valid values are [default,plain,compact,json,org-mode] .PP \fB-h\fP, \fB--help\fP[=false] diff --git a/doc/md/git-bug_ls.md b/doc/md/git-bug_ls.md index 7d1e490d..a40b3fd9 100644 --- a/doc/md/git-bug_ls.md +++ b/doc/md/git-bug_ls.md @@ -42,7 +42,7 @@ git bug ls status:open --by creation "foo bar" baz -n, --no strings Filter by absence of something. Valid values are [label] -b, --by string Sort the results by a characteristic. Valid values are [id,creation,edit] (default "creation") -d, --direction string Select the sorting direction. Valid values are [asc,desc] (default "asc") - -f, --format string Select the output formatting style. Valid values are [default,plain,json,org-mode] (default "default") + -f, --format string Select the output formatting style. Valid values are [default,plain,compact,json,org-mode] (default "default") -h, --help help for ls ```