unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] doc: mark `--output=summary` as default
@ 2022-11-30 13:58 michaeljgruber+grubix+git
  2022-12-03 13:40 ` David Bremner
  0 siblings, 1 reply; 2+ messages in thread
From: michaeljgruber+grubix+git @ 2022-11-30 13:58 UTC (permalink / raw)
  To: notmuch; +Cc: Michael J Gruber

From: Michael J Gruber <git@grubix.eu>

`notmuch search` behaves differently depending on the output option: It
either outputs information pertaining to all threads with matching
messages (summary, threads) or to all matching messages (messages,
files, tags). The man page refres solely to the former in the main
description.

Help the user by clearly marking `summary` as the default output option.

Signed-off-by: Michael J Gruber <git@grubix.eu>
---
 doc/man1/notmuch-search.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/man1/notmuch-search.rst b/doc/man1/notmuch-search.rst
index ad305efd..b87737ea 100644
--- a/doc/man1/notmuch-search.rst
+++ b/doc/man1/notmuch-search.rst
@@ -43,7 +43,7 @@ Supported options for **search** include
 
 .. option:: --output=(summary|threads|messages|files|tags)
 
-   summary
+   summary (default)
      Output a summary of each thread with any message matching the
      search terms. The summary includes the thread ID, date, the
      number of messages in the thread (both the number matched and
-- 
2.39.0.rc0.274.g106f0b89d0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] doc: mark `--output=summary` as default
  2022-11-30 13:58 [PATCH] doc: mark `--output=summary` as default michaeljgruber+grubix+git
@ 2022-12-03 13:40 ` David Bremner
  0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2022-12-03 13:40 UTC (permalink / raw)
  To: michaeljgruber+grubix+git, notmuch; +Cc: Michael J Gruber

michaeljgruber+grubix+git@gmail.com writes:

> From: Michael J Gruber <git@grubix.eu>
>
> `notmuch search` behaves differently depending on the output option: It
> either outputs information pertaining to all threads with matching
> messages (summary, threads) or to all matching messages (messages,
> files, tags). The man page refres solely to the former in the main
> description.
>
> Help the user by clearly marking `summary` as the default output option.

Applied to master.

d

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-03 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-30 13:58 [PATCH] doc: mark `--output=summary` as default michaeljgruber+grubix+git
2022-12-03 13:40 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).