diff options
Diffstat (limited to 'commands/ls.go')
-rw-r--r-- | commands/ls.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/commands/ls.go b/commands/ls.go index 769d60ba..f6d654b1 100644 --- a/commands/ls.go +++ b/commands/ls.go @@ -38,12 +38,18 @@ func newLsCommand() *cobra.Command { Short: "List bugs.", Long: `Display a summary of each bugs. -You can pass an additional query to filter and order the list. This query can be expressed either with a simple query language or with flags.`, +You can pass an additional query to filter and order the list. This query can be expressed either with a simple query language, flags, a natural language full text search, or a combination of the aforementioned.`, Example: `List open bugs sorted by last edition with a query: git bug ls status:open sort:edit-desc List closed bugs sorted by creation with flags: git bug ls --status closed --by creation + +Do a full text search of all bugs: +git bug ls "foo bar" baz + +Use queries, flags, and full text search: +git bug ls status:open --by creation "foo bar" baz `, PreRunE: loadBackend(env), PostRunE: closeBackend(env), |