]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: don't use versioned standard-options
authorMike Yuan <me@yhndnzj.com>
Sun, 14 Jan 2024 13:18:07 +0000 (21:18 +0800)
committerMike Yuan <me@yhndnzj.com>
Wed, 17 Jan 2024 03:25:45 +0000 (11:25 +0800)
no-pager-255 was added in #29184, which I reviewed and agreed.
However, as #30887 came up, I reconsidered it a bit, and now
I actually think that this should be removed.

We add new tools that refer to these standard options. During
the process, some options are also promoted to be standard ones.
I think a more sane practice is to generally keep old tools in
the loop, rather than overloading the standard-options with versions.

man/standard-options.xml
man/systemd-path.xml

index 28131348286b119daf26f39693a89c90d5c1b334..87058ad657b52203bfd914b6234cd2310f12f406 100644 (file)
@@ -3,9 +3,7 @@
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
 <!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
 
-<variablelist
-    xmlns:xi="http://www.w3.org/2001/XInclude">
-
+<variablelist>
   <varlistentry id='help'>
     <term><option>-h</option></term>
     <term><option>--help</option></term>
     </listitem>
   </varlistentry>
 
-  <varlistentry id='no-pager-255'>
-    <term><option>--no-pager</option></term>
-
-    <listitem>
-      <para>Do not pipe output into a pager.</para>
-
-      <xi:include href="version-info.xml" xpointer="v255"/>
-    </listitem>
-  </varlistentry>
-
   <varlistentry id='no-ask-password'>
     <term><option>--no-ask-password</option></term>
 
index d5a14bc1719c0e3ed42487ab33297696a6649655..153a9bd0d561356d15096aa343ba59c497eea58f 100644 (file)
@@ -59,7 +59,7 @@
         <xi:include href="version-info.xml" xpointer="v215"/></listitem>
       </varlistentry>
 
-      <xi:include href="standard-options.xml" xpointer="no-pager-255"/>
+      <xi:include href="standard-options.xml" xpointer="no-pager"/>
       <xi:include href="standard-options.xml" xpointer="help" />
       <xi:include href="standard-options.xml" xpointer="version" />
     </variablelist>