aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Moyer <smoyer1@selesy.com>2022-08-16 08:30:54 -0400
committerGitHub <noreply@github.com>2022-08-16 08:30:54 -0400
commit94e3bc85d4dea8eefa6c659e2f892b09dd7ddb41 (patch)
tree84124e150b0d8b2aaef9eab056aea8a1af565b72
parentcd52872475f1b39f3fb6546606c1e78afb6c08e3 (diff)
parentd3f2fb0d1808ce512092707978390a42b6e2d0fd (diff)
downloadgit-bug-94e3bc85d4dea8eefa6c659e2f892b09dd7ddb41.tar.gz
Merge pull request #848 from MichaelMure/docs-847-add-ls-compact
docs(847): add compact to docs and completion for ls command's format flag
-rw-r--r--commands/ls.go4
-rw-r--r--doc/man/git-bug-ls.12
-rw-r--r--doc/md/git-bug_ls.md2
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
```