docs(847): add compact to docs and bash for ls command's format flag

Steve Moyer created

Change summary

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(-)

Detailed changes

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
 }

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]

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
 ```