From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 23 Jan 2026 16:02:55 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vjIgZ-004W17-1a for lore@lore.pengutronix.de; Fri, 23 Jan 2026 16:02:55 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vjIgY-0003I7-Mq; Fri, 23 Jan 2026 16:02:54 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vjIfn-00016l-59; Fri, 23 Jan 2026 16:02:07 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vjIfn-0026y0-24; Fri, 23 Jan 2026 16:02:06 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1vjIfm-00000006aQs-3olg; Fri, 23 Jan 2026 16:02:06 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 23 Jan 2026 16:02:06 +0100 Message-ID: <20260123150206.1569720-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260113084523.88722-1-m.heidelberg@cab.de> References: <20260113084523.88722-1-m.heidelberg@cab.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] doc: fix rule file examples regarding suboptions X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Markus Heidelberg Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as c7a7ecaef4be34fb2e7508a60f751755f529e450. Michael [sent from post-receive hook] On Fri, 23 Jan 2026 16:02:06 +0100, Markus Heidelberg wrote: > Signed-off-by: Markus Heidelberg > Message-Id: <20260113084523.88722-1-m.heidelberg@cab.de> > Signed-off-by: Michael Olbrich > > diff --git a/doc/dev_advanced_rule_files.rst b/doc/dev_advanced_rule_files.rst > index 26abf214d141..55dc0e8f0a41 100644 > --- a/doc/dev_advanced_rule_files.rst > +++ b/doc/dev_advanced_rule_files.rst > @@ -91,15 +91,17 @@ let’s expand our menu. Here is its current content: > FIXME > > We’ll add two menu entries, one for each optional parameter we want to > -add on demand to the ``configure`` parameters: > +add on demand to the ``configure`` parameters. The main menu entry will be > +adapted to contain these entries in a submenu, trailing spaces are added to the > +``prompt`` string for proper alignment: > > .. code-block:: kconfig > > ## SECTION=project_specific > > - config FOO > + menuconfig FOO > tristate > - prompt "foo" > + prompt "foo " > help > FIXME > > @@ -230,10 +232,10 @@ file looks like: > > ## SECTION=project_specific > > - config FOO > + menuconfig FOO > tristate > select ZLIB > - prompt "foo" > + prompt "foo " > help > FIXME > > @@ -269,11 +271,11 @@ enabled. To add these dependencies on demand, the menu file looks like: > > ## SECTION=project_specific > > - config FOO > + menuconfig FOO > tristate > select ZLIB if FOO_FOO > select LIBXML2 if FOO_BAR > - prompt "foo" > + prompt "foo " > help > FIXME > > @@ -322,12 +324,12 @@ file. With all the additions above it now looks like: > > ## SECTION=project_specific > > - config FOO > + menuconfig FOO > tristate > select ZLIB if FOO_FOO > select LIBXML2 if FOO_BAR > select LIBC_M > - prompt "foo" > + prompt "foo " > help > FIXME >