summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-11-07 07:37:16 +0100
committerJulian Andres Klode <jak@debian.org>2025-11-10 11:33:07 +0100
commit9abd0a4c19b535872815b4f8799a56a207af73d5 (patch)
tree70234ef436096eb0a8cf5b0db9e5ee9089b6ccc9
parent50be87de727141d16d9f4f4907d631161d2d1032 (diff)
Improve documentation for apt --cli-version
Document options inside apt(8)
-rw-r--r--debian/NEWS16
-rw-r--r--doc/apt.8.xml6
2 files changed, 10 insertions, 12 deletions
diff --git a/debian/NEWS b/debian/NEWS
index 8cb5916ee..c872ec23f 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -2,18 +2,10 @@ apt (3.1.10) unstable; urgency=medium
The new solver is now the default.
- The new --cli-version optionr equests a specific CLI version.
-
- The default --cli-version is the current APT version for the apt(8) command
- or 0.(10 * major + minor) for the other command.
-
- If --cli-version is specified, the output of the apt(8) command may be
- recorded. This allows for replacing legacy commands like apt-get(8) in
- scripts.
-
- The legacy commands may roll-over to the 2.X series in the future.
- For further information on this mechanism, consult the apt(8) manual
- page.
+ The new --cli-version option requests a specific CLI version, i.e.
+ makes apt(8) try to behave like that version of apt. Accordingly,
+ if specified, apt no longer warns about unstable interfaces.
+ See the apt(8) manual page for more details.
-- Julian Andres Klode <jak@debian.org> Sat, 25 Oct 2025 17:27:38 +0200
diff --git a/doc/apt.8.xml b/doc/apt.8.xml
index 737b23f7e..739cbaeec 100644
--- a/doc/apt.8.xml
+++ b/doc/apt.8.xml
@@ -189,6 +189,12 @@
</para>
</refsect1>
+ <refsect1><title>options</title>
+ &apt-cmdblurb;
+ <variablelist>
+ &apt-commonoptions;
+ </variablelist>
+ </refsect1>
<refsect1><title>See Also</title>
<para>&apt-get;, &apt-cache;, &sources-list;,
&apt-conf;, &apt-config;, &apt-patterns;,