1
0
mirror of https://github.com/systemd/systemd synced 2024-07-01 07:34:28 +00:00

man: don't use versioned standard-options

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.
This commit is contained in:
Mike Yuan 2024-01-14 21:18:07 +08:00
parent 443afd6c19
commit 7fbdd8c323
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3
2 changed files with 2 additions and 14 deletions

View 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>
@ -31,16 +29,6 @@
</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>

View 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>