X-Envelope-From: notmuch-bounces@notmuchmail.org  Sat May  9 15:59:51 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 CEE2E5F87E;
	Sat,  9 May 2026 15:59:51 +0000 (UTC)
X-Greylist: delayed 397 seconds by postgrey-1.36 at yantan; Sat, 09 May 2026 15:59:48 UTC
Received: from mail.sindominio.net (mail.sindominio.net [94.130.32.254])
	by mail.notmuchmail.org (Postfix) with ESMTPS id 12BA05F7D1
	for <notmuch@notmuchmail.org>; Sat,  9 May 2026 15:59:48 +0000 (UTC)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	 by lesnaus.sindominio.net with ESMTP id 6E8C412A45D8
	for <notmuch@notmuchmail.org>; Sat,  9 May 2026 17:53:15 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net 6E8C412A45D8
Authentication-Results: lesnaus.sindominio.net;
	dkim=pass (4096-bit key; unprotected) header.d=sindominio.net header.i=@sindominio.net header.b="OC7P4wrW";
	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 q0bRUvhbmnRI; Sat,  9 May 2026 17:53:13 +0200 (CEST)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	 by lesnaus.sindominio.net with ESMTPSA id 0FE7A12A45D6;
	Sat,  9 May 2026 17:53:12 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net 0FE7A12A45D6
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sindominio.net;
	s=mail; t=1778341993;
	bh=3WSjTYdbuUKf4Oeb361Xzxa8Wxg39MdrXZJzIUpWVl0=;
	h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
	b=OC7P4wrWKWVORjpNmcuRtV4HOkbc6txjN6CodR3+Z2dmWcGTDtmgZ8ocz1/gjnMzF
	 Gu89kVfrImlQZK1e/qY3pWrcvcWVoOlz6vAR9X78IKw/s5NKy5eMJi2jGCFL0ySmJB
	 c0xGW3iM1nT1do63V10xzxLA8XuClTlUdsS8siK/HU1Q0Bvlw09WSdCiAb8T6NDG26
	 W357aYYFbltEf9OMacp/miykFKp6YttxlBRwS3YWjlFSiudLgw8IBr7/acS+C1OyAD
	 Zkax0urXWK3Key0Dv/1iUVd8M10wNmuFYCp3OoYDMt9MDPNx3wIL1MD8pAGBkem+SW
	 C18f8obe8+GQmf/8paHHWrGLeGziM+AbPYHmpcY1L5vyfERfLTlqqu4GJ6VbHZpQYu
	 htGBFPlyEc/26V3CuNPETpVxGS4eJx1fJ82XuD2+6fuSxx5KMZpXEJuI16cfQimVAL
	 K16wTxGdhAM4M9cbjqkTa/BM0Y+/73xat/qYDHG7aw3W9Ii94RBDYprW6nWSfL8ian
	 geXGFsH+d7yKwaWMBYcYheTdQncJn0Qp/CoGiPnookQ372p2+ogpQfk51wArEIrfHN
	 6N3nvBNeQ2D6wrMsum0B4vYWt3fdtexsp661SGsLxTs0uIjENhaOHI0PWuXYV1tlhz
	 b4AvqiWArKc7Jd7tuVT6CqCQ=
From: inwit <inwit@sindominio.net>
To: notmuch@notmuchmail.org
Subject: [PATCH 2/3] doc: document --profile option
Date: Sat,  9 May 2026 17:49:53 +0200
Message-ID: <20260509155257.2477368-3-inwit@sindominio.net>
In-Reply-To: <20260509155257.2477368-1-inwit@sindominio.net>
References: <20260509155257.2477368-1-inwit@sindominio.net>
MIME-Version: 1.0
Message-ID-Hash: J6AWZIFN7AX5LKDTSOWG2KSRFZ3RKEIR
X-Message-ID-Hash: J6AWZIFN7AX5LKDTSOWG2KSRFZ3RKEIR
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
