[sdk/kdesrc-build/docbook_historied_per_file] doc/cmdline: Remove --print-modules and --list-build options
Andrew Shark
null at kde.org
Fri May 10 10:16:52 BST 2024
Git commit 75b4b0eb0cb4e472b7ca1c58dd2cc77839a6855f by Andrew Shark.
Committed on 10/02/2024 at 09:37.
Pushed by ashark into branch 'docbook_historied_per_file'.
Remove --print-modules and --list-build options
There are already `--query module-set` and `--query branch` options, no need to create unnecessarily entities.
The --list-build tree indentation was not properly implemented, but made correctly in dependency-tree.
The #dependency-level sticky option was never set, so print-modules indentation was broken forever.
The zsh completion script relied on --list-build option and needs to be reworked.
Original commit: 08c6bb39
https://invent.kde.org/sdk/kdesrc-build/-/commit/08c6bb39486fc51aca90a20708f65ee3ae7eb0eb
M +0 -48 doc/cmdline/supported-cmdline-params.docbook
https://invent.kde.org/sdk/kdesrc-build/-/commit/75b4b0eb0cb4e472b7ca1c58dd2cc77839a6855f
diff --git a/doc/cmdline/supported-cmdline-params.docbook b/doc/cmdline/supported-cmdline-params.docbook
index b52bf204..86eaf976 100644
--- a/doc/cmdline/supported-cmdline-params.docbook
+++ b/doc/cmdline/supported-cmdline-params.docbook
@@ -323,54 +323,6 @@ kdepim: master
</listitem>
</varlistentry>
-
-<varlistentry id="cmdline-print-modules">
-<term><option><link linkend="cmdline-print-modules">--print-modules</link></option></term>
-<listitem>
-<para>
- Takes all actions up to and including dependency reordering of the modules
- specified on the command line (or configuration file), prints the modules
- that would be processed one per line, and then exits without further action.
-</para>
-<para>
- The <literal>kde-project</literal> metadata is downloaded first (though, see
- <link linkend="cmdline-pretend"><option>--pretend</option></link> or <link
- linkend="cmdline-no-src"><option>--no-src</option></link>).
-</para>
-<para>
- The output is not fully compatible with usage by scripts as other output messages
- may be generated until the module list is shown.
-</para>
-<para>
- This is mostly just useful for quickly determining what &kdesrc-build;
- understands a module's dependencies to be, which means it's only useful for
- <link
- linkend="kde-projects-module-sets"><literal>kde-projects</literal></link>
- modules. This option is also compatible with <link
- linkend="cmdline-resume-from"><option>--resume-from</option></link>, <link
- linkend="cmdline-resume-after"><option>--resume-after</option></link>,
- <link linkend="cmdline-stop-before"><option>--stop-before</option></link>,
- <link linkend="cmdline-stop-after"><option>--stop-after</option></link>.
-</para></listitem>
-</varlistentry>
-
-<varlistentry id="cmdline-list-build">
-<term><option><link linkend="cmdline-list-build">--list-build</link></option></term>
-<listitem>
-<para>
- Lists the modules that would be built, in the order in which they would be built.
- If applicable, the output listing also mentions which commit/branch/tag would be
- selected for checkout.
-</para>
-<para>
- This option is similar to
- <link linkend="cmdline-print-modules"><option>--print-modules</option></link>.
- For more detailed information on how modules relate to each other, see also:
- <link linkend="cmdline-dependency-tree"><option>--dependency-tree</option></link>.
-</para>
-</listitem>
-</varlistentry>
-
<varlistentry id="cmdline-dependency-tree">
<term><option><link linkend="cmdline-dependency-tree">--dependency-tree</link></option></term>
<listitem>
More information about the kde-doc-english
mailing list