Article View: linux.kernel.git
Article #2382Re: [Outreachy PATCH] api-parse-options.adoc: restore a dropped word
From: Junio C Hamano
Date: Wed, 04 Nov 2026 23:13
Date: Wed, 04 Nov 2026 23:13
33 lines
13988 bytes
13988 bytes
Cynthia Uche <herroyalpriestess@gmail.com> writes: > The description of PARSE_OPT_KEEP_UNKNOWN_OPT ends with "..., the > parser early.", which is not a sentence. The word "stopping" was lost > in 0d260f9a09 (parseopt: prevent KEEP_UNKNOWN and STOP_AT_NON_OPTION > from being used together, 2009-03-09), which rewrote the end of that > sentence. Makes sense. Thanks for finding and fixing. > > Restore it, and rewrap the following line. > > Signed-off-by: Cynthia Uche <herroyalpriestess@gmail.com> > --- > Documentation/technical/api-parse-options.adoc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/technical/api-parse-options.adoc b/Documentation/technical/api-parse-options.adoc > index 6dfea34220..14f0d2b572 100644 > --- a/Documentation/technical/api-parse-options.adoc > +++ b/Documentation/technical/api-parse-options.adoc > @@ -127,8 +127,8 @@ Flags are the bitwise-or of: > `PARSE_OPT_STOP_AT_NON_OPTION` is set, the second argument in > `--unknown value` will be mistakenly interpreted as a > non-option, not as a value belonging to the unknown option, > - the parser early. That's why parse_options() errors out if > - both options are set. > + stopping the parser early. That's why parse_options() errors > + out if both options are set. > Note that non-option arguments are always kept, even without > this flag.
Technical Details
Message-ID:
<xmqq1p90yyul.fsf@gitster.g>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74502-linux-kernel-git=dewy.ruReferences:
<20261104224559.4197-1-herroyalpriestess@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74502-linux-kernel-git=dewy.ru
From: gitster@pobox.com (Junio C Hamano)
Newsgroups: linux.kernel.git
Subject: Re: [Outreachy PATCH] api-parse-options.adoc: restore a dropped word
Date: Wed, 04 Nov 2026 15:13:22 -0800
Organization: Usenet Network
Message-ID: <xmqq1p90yyul.fsf@gitster.g>
References: <20261104224559.4197-1-herroyalpriestess@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: usenet.network;
logging-data="3537638"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:m6ESRlYKIhGpouc7NPuqhwLh+YY= sha256:zHVyBDcLKIv7ZrgHdSPNY1AkwLZj9bdLLkIYkQ7noek=
sha1:t2sq9LQqo6wClCaHCE9sFkIq+Os= sha256:z33bvOxV5DFOujasHKvdrpX9h/MUCtLTYeeVTRg+Lsk=
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 5E6EE112E4D; Thu, 5 Nov 2026 04:49:40 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=pobox.com header.b=TdmsDtuY; dkim=pass (2048-bit key)
header.d=messagingengine.com header.b=TdFoLDuI
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id MXcCimWIdQ8A;
Thu, 5 Nov 2026 04:49:37 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=git+bounces-74502-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=pobox.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
by mail.dewy.ru (Postfix) with ESMTPS id 37241112E16; Thu, 5 Nov 2026 04:49:22 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sin.lore.kernel.org (Postfix) with ESMTP id 3D2862EBEF; Wed, 4 Nov 2026 23:13:29 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1793834006;
b=N/qn2AOTtHuRc1Xtj6OpFQExFkRdBJa3IAj0R1fqLNX75sNE75mGvTdsPIe2DKUIkCKy
uhKDRvq1ZWQuVC5UYNFegJuOgNUuWDgnQjsbVAr70MgBq4pM5WmQIGVqcmlmKIq3K4gra
lpQgZPfAKOG0mPdMqdfk/tFbUazXhWlI/3sV0LAVmejqGJgcSfd74oWjIrJzIfiRpLlmx
U/B8E+pcgS+r+fJKbFJaT1323GpuOXoe9MkguJRhJZyRKpYRtM8YEMR4aFSQE0Qv91GSb
VH0pzJlszTIqc87D5K6cbc6uqwf22kBY/ZmdvGl0IuqfSPtBW5VFJwDFDJS2GVP7alA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793834006;
h=X-Original-To:Received:DMARC-Filter:Received:Received:DKIM-Signature:
DKIM-Signature:X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:
Message-Instance:X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:
X-ME-Proxy:Feedback-ID:Received:From:To:Cc:Subject:In-Reply-To:
References:Date:Message-ID:User-Agent:X-Mailing-List:List-Id:
List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
Precedence:MIME-Version:Content-Type;
bh=pF+SV/OCiwh156LDpThv35zYbJRDWUY6TfZJRkyVVXo=;
b=Y90wVSACMPPzuSG9Mqfy5iOiRoyMQ/HiJNHEKCs15PPc4llXYgwwwsd2e8QxBVwRuAIN
xR0fwSNTIEwZ0oYN3z2PYhpHszMFHSbXeT5gu420btlwWdRD4nUeDS0ghJS8/RlCWfEUN
5rS4rE7Akm9oF/9iZoZ8A7LYMNYS4gcRxzzIPmc42L16lU6JQVK7DjCyvJ9MTdcBqioLY
MVi5y7yU09aUOXZigmzYv7A1+CNGaWiL7PlbLFKfyWAzEN+0HcqFCu/c12q7vca3tftD4
CQ1ZNwJpt2hdDumn0qLbCqyAHBINxXEwWcq3tR8hAeXEe4Mhaz+NK5A6zFQkTeM9e0Q==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=fm2 header.b=TdmsDtuY;
dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=TdFoLDuI;
dmarc=pass header.from=pobox.com;
spf=pass smtp.mailfrom=pobox.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 6470C606A333;
Wed, 4 Nov 2026 23:13:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=fm2 header.b=TdmsDtuY;
dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=TdFoLDuI
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.155
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1793834005;
b=k5tpU1Vf+UCkV33w6/Y9DveGAV/tFs36JLCu1mF63Vw0kZeBwvlv52OagIoTNx+1/Ic0
YUqJDNeAzF/TZ/AXW/ivdzUI6QcRZgL78Y8Dw2+usikgMzBpqFgIKTj/cBdqB7KOSMvfw
OqT9ff/CMeTYg2YtsM0JiX/r0jVGjFeaH6cNA55NbLeE5AwL0B6gxd7+eZkm5muhJnKR2
DiXvBKohoSBThpfEimOjGnaH1FKL7hIn07w90+oswmT5Rbn4unk+PKXypGxwLw0KXCPkV
Fjw8lCMEopMo6MfhyLx755MkRfFYBVWTfeQ07EHzXQsZ+uTG05dWT5KEyQ3IXc2VKCQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793834005;
h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature:
X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:Message-Instance:
X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID:
Received:From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID:
User-Agent:MIME-Version:Content-Type;
bh=pF+SV/OCiwh156LDpThv35zYbJRDWUY6TfZJRkyVVXo=;
b=F76LmIuG5xk738TcU0Iq5WyiosvNO++peqpUGPwVgDg5NotM9iZQnF3wkyC9zFAtMZ4I
eQcQb18DYP1YNF9W5eS0FIZhiR4WO4Z9oCM/vuz5yjOKqaxRGjLRZqCkEZ49p5H8qW8Hi
YWlVP8f9st2MjHfMd06+gGuA9LZkgx9a7XhVSby+pMUsqOOUXRBEwQQaBxS9SQUmJCV1q
wMPhSW/isRRe7Yi7ypa6dt0oZZ3rts9uyljd87uLAx7vnjXuxMSwszh2WdiL1FEjj+nL0
b1v9MZb6HkFsFuxV4dNm72BlBjLYlXROU6jpeGTNJwQBRvayoICospkfkGRhMXobdgA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=pobox.com;
spf=pass smtp.mailfrom=pobox.com;
dkim=pass header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=fm2 header.b=TdmsDtuY;
dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=TdFoLDuI;
arc=none smtp.remote-ip=103.168.172.155
X-Received: from fhigh-a4-smtp.messagingengine.com (fhigh-a4-smtp.messagingengine.com [103.168.172.155])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3038606A32E
for <git@vger.kernel.org>; Wed, 4 Nov 2026 23:13:24 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F3038606A32E
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com
X-Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42])
by mailfhigh.phl.internal (Postfix) with ESMTP id 21078140018E
for <git@vger.kernel.org>; Wed, 4 Nov 2026 18:13:24 -0500 (EST)
X-Received: from phl-frontend-01 ([10.202.2.160])
by phl-compute-02.internal (MEProxy); Wed, 04 Nov 2026 18:13:24 -0500
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; h=cc
:cc:content-type:content-type:date:date:from:from:in-reply-to
:in-reply-to:message-id:mime-version:references:reply-to:subject
:subject:to:to; s=fm2; t=1793834004; x=1793920404; bh=pF+SV/OCiw
h156LDpThv35zYbJRDWUY6TfZJRkyVVXo=; b=TdmsDtuYZCIFEHB43MxF7yFXfv
q75Yx0sEjsl76Ja7rJdHuXj0lXR8F6RDDEBE6OReq6U2bwZl2lKIbv71JiEaG6DU
1hLz1OQwbFW5CgfUML1NvLBrOz4AcVA+FRmzA3hKlKfymWOMQPCsHuSC5pWSBEvb
oIkoFDsHedOaMrDxzLKjamkijlrtIsANYLXJqiq3KTDvIS3j2anAjmrtR1wDbFgA
d6p3Wrf/xLA1Zqg5tyFyP4WuiSe2FHpuamUznN5DvhCOet57p8ISFUzsunHvaLXl
xC2RZQOsxQ/38mF3DIf8cKOzdLDAoDVOjfC9rz/vcEM+7sStsUYfaH7XE3sw==
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:cc:content-type:content-type:date:date
:feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
:message-id:mime-version:references:reply-to:subject:subject:to
:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=
1793834004; x=1793920404; bh=pF+SV/OCiwh156LDpThv35zYbJRDWUY6TfZ
JRkyVVXo=; b=TdFoLDuInQx9JlzZZ7cqliP+UiIdE+L8qg5hzl8efAbZPIjcmXD
3SpfcuEZxSp2+Qs1BZ0sHcLm5NqFeRTeDNe7jphkkkEvMoTZfgOVidY1gVk+uiQe
CT1P/xx+u57/MN7t5B1m4Pwdlv7mkTDw1AlP3LA+pRgjkXSz03BgAzYj338v1qdE
SVMW2gv8KHiwKs+u2L5iFjSdDyHYmWRw3CswCvu4ODnz2vPqkqP+bX9F2V0BCFWY
K6Tq9e0yCHWZDc8CLFH4n3iFwIyxHqhPcu0Jo/oXSyoKG0WOAd32nDC1E/Q4pZv7
owkL4j2Zv4CJv/bAlrkIx7SCbCcBkL4uqag==
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-08;
repo=github.com/dkim2wg/interop; date=2026-10-28; sw=lmtpprox;
action=sign d=pobox.com a=rsa-sha256;
X-DKIM2-Signature: i=1; m=1; t=1793834004; d=pobox.com;
mf=PGdpdHN0ZXJAcG9ib3guY29tPg==;
rt=PGdpdEB2Z2VyLmtlcm5lbC5vcmc+;
s=fm2:rsa-sha256:VNJjMi5TJ6HnL6ukTxSusHZhH4tkDP2Hg5fhRGhou2VGlOV
/qDcWL56ekhFxD1hCs5J8anaHQjPzV+K9dw2gz2YkETVUqxz3hPDrs41QxwcU/Ex
mX064rhALnzPjcX1YyYF2zU9cByWUShpDM76KZPNB1uJvhfF2z7nHdaeToQkpwK7
zhGDbLzusvEGrUMVw4O03leuhQR+DrDlKkFXk4R0wETh65FScToa3ngpYPuAKPtg
DcWyvpVCeYmfg993bLpljLCLubPC7jMMRla69l2jOGTXlGXa99tmHH/FmUGmBVcB
wL4nsC+VkGMkWZrTu2ZcqGEH5rbVnBAxtLXo/DQ==;
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-08;
repo=github.com/dkim2wg/interop; date=2026-10-28; sw=lmtpprox;
action=mi-m=1; hc=12;
hn=cc,content-type,date,feedback-id,from,in-reply-to,message-id,
mime-version,references,subject,to,user-agent;
X-Message-Instance: m=1; h=sha256:FllfNPcJoXXopbe1vtZ7jlf1G2bB61W6DuNz3FoioYc=:naRqha+yXexr2ghatKBPosGw0tr6Ef95vQDm+Q0D3sI=;
X-ME-Sender: <xms:E7zragy1cK8Y7xTQ8fnV7bLE2WsxpzrDYO42E_PhDI2MladxFilQFg>
<xme:E7zrajXZHtO10jM8VEa4NHAx0eky_cnTqp9_IrFFZ42pW0o3O_gyEkdxNtE3q_hK0
nEBsoWFuZYzK7rArXQYFETrDuoqMeBH5W66StPXBqL1nNwwM33WlQ>
X-ME-Received: <xmr:E7zraojXsGGivoNxHWu2Xo8kueyq89krerRoKEZ-rHSZKWeoNYSy5mo7UOktHnTyhPcx3N2rlPXrpJcsO1RjQ6ouE_Oayd7sKrZ9>
X-ME-Proxy-Cause: dmFkZTFpe9H74Rejf9MaEqNQUvo6cXZZedgQfpdhhgjeu41XMO9m9atiMqVICaFFEQVzUA
t4nmk7WuvskZhD8UYO3UChv8QNqati5bY6N7FzhakC6most65Xb0fsVjMVPdmD4OpAoxSS
u2pJZZN5nlmSOcOO02zS6hl6ITH6K77HQBJi5AvLB5L4X4mfwG7Ae1S7zuy9XX2IPCQILA
QpRE4+ZfKbt+BQ+Vw/z5xCgPGmLwdKGeh3Qoa5RdbZ/ZCGmv1UftxKosfFzUbJgrKsnloK
uUCM++RvQNi7+Z0jEw0pLwr0e6O54//f2/3XGByceOLXB3ZGDfQ39hUl3odE50611KTwAm
tTcnkkav4wCe7WAFBRcEzkQwwmzbvve+lO+ZjXGrnpAkJYH/LDx4hxc3wpSGYTJVwekUZZ
z+AP/3QNRBMi8CYoVPIK6qp3AVMlTx7bmsDdAEVQJCSHECgsy47O5S/UK47pm1RPkbi3KL
RroTEJrNdcsp9cwrp8X+svyF9dzeiCIe3SZ5yNAKqeyagyxIWAkRrqK4dPLsEViWCLBNDn
fseTsAMcLNIIe4YTDsTk4NqJbCLECjAxIFzrKzKWZ9G6jz+h8Pmzv57t3BsIG1kO0WFps7
NDzR4HxzVwS4BcimsPvyft1nrU0rQv0Lyl0lYQsWu7EAhk9tTn3jYqadk2tQ
X-ME-Proxy: <xmx:E7zrarASOZBgDzTUkG2kKrRieGB_pefAECslQk-LoO3Bs0Uv7hYX5A>
<xmx:E7zramujlbHrFXuJZHH9k1njckCVPsjKOgKHdZk_YoS3Y-fX87M_wA>
<xmx:E7zrane05F4uXnVZxqnjm1lf3jUGjbgAzqLGzZOWCobyyFB8qSjdlA>
<xmx:E7zraj8R-_NQDLvGu13Fpmrw25zGZP3oA4U_fYcCUgJpTsv2yBAyCA>
<xmx:FLzrasNPqcJ9jHbalN7ktX4WYvfvdh8pKHYZPhxTMVoBQj7WWwhNeu3F>
X-Feedback-ID: if26b431b:Fastmail
X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
4 Nov 2026 18:13:23 -0500 (EST)
X-Cc: git@vger.kernel.org, l.s.r@web.de, christian.couder@gmail.com,
siddharthasthana31@gmail.com, kaartic.sivaraam@gmail.com,
usmanakinyemi202@gmail.com
X-In-Reply-To: <20261104224559.4197-1-herroyalpriestess@gmail.com> (Cynthia
Uche's message of "Wed, 4 Nov 2026 23:45:59 +0100")
X-User-Agent: Gnus/5.13 (Gnus v5.13)
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list