mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-14 08:45:30 +03:00
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
This commit is contained in:
commit
94e3bc85d4
@ -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
|
||||
}
|
||||
|
@ -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]
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user