X-Envelope-From: notmuch-bounces@notmuchmail.org  Sun Aug 30 16:06:27 2026
Return-Path: <notmuch-bounces@notmuchmail.org>
X-Original-To: nmbug@yantan.tethera.net
Delivered-To: nmbug@yantan.tethera.net
Received: from yantan.tethera.net (localhost [127.0.0.1])
	by mail.notmuchmail.org (Postfix) with ESMTP id B19435E525;
	Sun, 30 Aug 2026 16:06:27 +0000 (UTC)
Received: from mail.sindominio.net (mail.sindominio.net [IPv6:2a01:4f8:10b:1e2f::4])
	by mail.notmuchmail.org (Postfix) with ESMTPS id 40F965E2A0
	for <notmuch@notmuchmail.org>; Sun, 30 Aug 2026 16:06:23 +0000 (UTC)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	 by lesnaus.sindominio.net with ESMTP id 965F612A02B5
	for <notmuch@notmuchmail.org>; Sun, 30 Aug 2026 17:57:19 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net 965F612A02B5
Authentication-Results: lesnaus.sindominio.net;
	dkim=pass (4096-bit key; unprotected) header.d=sindominio.net header.i=@sindominio.net header.b="nfbUlalF";
	dkim-atps=neutral
Received: from mail.sindominio.net ([127.0.0.1])
	by localhost (lesnaus.sindominio.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id fPqbeVBu7SjX; Sun, 30 Aug 2026 17:57:17 +0200 (CEST)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	 by lesnaus.sindominio.net with ESMTPSA id 040E812A012F;
	Sun, 30 Aug 2026 17:57:11 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net 040E812A012F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sindominio.net;
	s=mail; t=1788105437;
	bh=hEzqUmIfsFe9dLEWgQZnrWmj6HcnX38FjYqdozv95mQ=;
	h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
	b=nfbUlalFVMyzj+gj9KSEOse3g9QdGweiZqbjJU0v5XzjKMqjY6SsXt9o6c7lxtf39
	 Ry1QZvmkQAHAgnWnzu26gMqFaNCN4kuBWtetQsAN+8DFC2B3qLLzkSBfuzd7PK5iAw
	 yIrXAVFpYxKlV+TOdSyAtGOX3drF6QwgVY6lvTGzWjanl9FhoAIqKq+5WXlrcjpfvf
	 MFDSKplvdWdaJxgCiYbKvNGtDycxRM1KCE1deQttIduyVeBGoU4YjqBEE1ZwCF50NR
	 0u6+c+SzwKSy2NUNfnAryS7Nb/YhfnZMNbfa7v8JtUjEuSeHXnl8tzRjw7iMXA98Iu
	 XffWM4vKduOCKYkx7s4qneROA3k8Z/4l+y0UiHqOfrPSDID2q4MyMk+3OufG+XCAbj
	 N3MBf5GLJXBt30rAEm9iOet+43/ZbRW8CuDiQNhMo08uAalt4kMqtqHKyGBkydr88U
	 zzIE3L6Uuzzdz1NwB2oXBF25pyjU0vimLC5RXfDKjTTR7TckdPjo6t1aMzAjEVGSmd
	 XUq/FjgY5SmX14zOhM3/URSwriyS0c9NyWsdpDbDefyomitsXelq1saOcXu+Vdnp62
	 PE1liqS6FMsY/nXxQgZ4EJL9dCFROi5cY21FnSngorOYwD3tcj6qmOr2QBa+1Y/FkL
	 ROd6+cKuxR2kNnIj3fPk2TJU=
From: inwit <inwit@sindominio.net>
To: notmuch@notmuchmail.org
Subject: [PATCH v2 2/3] doc: document --profile option
Date: Sun, 30 Aug 2026 17:44:26 +0200
Message-ID: <20260830155628.221888-4-inwit@sindominio.net>
In-Reply-To: <20260830155628.221888-2-inwit@sindominio.net>
References: <20260830155628.221888-2-inwit@sindominio.net>
MIME-Version: 1.0
Message-ID-Hash: QNPLX4ZRTFF3RGVJVY7HAJPOVIJYPHEM
X-Message-ID-Hash: QNPLX4ZRTFF3RGVJVY7HAJPOVIJYPHEM
X-MailFrom: inwit@sindominio.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: inwit <inwit@sindominio.net>
X-Mailman-Version: 3.3.3
Precedence: list
List-Id: "Use and development of the notmuch mail system." <notmuch.notmuchmail.org>
List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
List-Owner: <mailto:notmuch-owner@notmuchmail.org>
List-Post: <mailto:notmuch@notmuchmail.org>
List-Subscribe: <mailto:notmuch-join@notmuchmail.org>
List-Unsubscribe: <mailto:notmuch-leave@notmuchmail.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Document the new --profile=PROFILE global option in the notmuch(1)
man page, and update the note about options that must appear before
the subcommand name.

Signed-off-by: inwit <inwit@sindominio.net>
---
 doc/man1/notmuch.rst | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/doc/man1/notmuch.rst b/doc/man1/notmuch.rst
index c488f12a..376f60b2 100644
--- a/doc/man1/notmuch.rst
+++ b/doc/man1/notmuch.rst
@@ -61,6 +61,13 @@ Supported global options for ``notmuch`` include
    string is a permitted and sometimes useful value of *FILE*, which
    tells ``notmuch`` to use only configuration metadata from the database.
 
+.. option:: --profile=PROFILE
+
+   Select among notmuch configurations. This overrides
+   :envvar:`NOTMUCH_PROFILE` for selecting which profile's configuration
+   to use. See :any:`notmuch-config(1)` for details on the profile
+   search order.
+
 .. option:: --uuid=HEX
 
    Enforce that the database UUID (a unique identifier which persists
@@ -69,9 +76,9 @@ Supported global options for ``notmuch`` include
    counts on messages. You can find this UUID using e.g. ``notmuch
    count --lastmod``
 
-All global options except ``--config`` can also be specified after the
-command. For example, ``notmuch subcommand --uuid=HEX`` is equivalent
-to ``notmuch --uuid=HEX subcommand``.
+All global options except ``--config`` and ``--profile`` can also be
+specified after the command. For example, ``notmuch subcommand
+--uuid=HEX`` is equivalent to ``notmuch --uuid=HEX subcommand``.
 
 COMMANDS
 ========
-- 
2.53.0

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org
