[sdk/kdesrc-build/docbook_historied_per_file] doc/cmdline: Add --show-options-specifiers option

Andrew Shark null at kde.org
Fri May 10 10:16:52 BST 2024


Git commit d921bdd7368d4f95b9fc6f0c05f8e58988d286a4 by Andrew Shark.
Committed on 15/01/2024 at 17:23.
Pushed by ashark into branch 'docbook_historied_per_file'.

Add --show-options-specifiers option

Original commit: 35e68fb5
https://invent.kde.org/sdk/kdesrc-build/-/commit/35e68fb5b925ef438cf441ead6dce3285f0fdbc8

M  +8    -8    doc/cmdline/supported-cmdline-params.docbook

https://invent.kde.org/sdk/kdesrc-build/-/commit/d921bdd7368d4f95b9fc6f0c05f8e58988d286a4

diff --git a/doc/cmdline/supported-cmdline-params.docbook b/doc/cmdline/supported-cmdline-params.docbook
index 71993bdc..219c9099 100644
--- a/doc/cmdline/supported-cmdline-params.docbook
+++ b/doc/cmdline/supported-cmdline-params.docbook
@@ -704,14 +704,6 @@ Display the program version.
 </para></listitem>
 </varlistentry>
 
-<varlistentry id="cmdline-author">
-<term><option>--author</option></term>
-<listitem><para>
-Display contact information for the
-author.
-</para></listitem>
-</varlistentry>
-
 <varlistentry id="cmdline-help">
 <term><option>--help</option> (or <option>-h</option>)</term>
 <listitem><para>
@@ -728,6 +720,14 @@ prove useful in bug reports or when asking for help in forums or mailing lists.
 </listitem>
 </varlistentry>
 
+<varlistentry id="cmdline-show-options-specifiers">
+<term><option>--show-options-specifiers</option></term>
+<listitem><para>
+Print the specifier lines (in the format that GetOpts::Long accepts) for all command line options supported by the script.
+This may be used by developers, for example, for generating zsh autocompletion functions.
+</para></listitem>
+</varlistentry>
+
 </variablelist>
 
 </sect2>



More information about the kde-doc-english mailing list