From ee3841155e5c58b85408f29a8d44630da5de63f7 Mon Sep 17 00:00:00 2001 From: Mike Goldin Date: Tue, 17 Nov 2020 08:09:35 -0500 Subject: Update docs for full text search --- commands/ls.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'commands') 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), -- cgit