diff options
author | Julian Andres Klode <jak@debian.org> | 2022-10-28 18:36:16 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2022-10-28 18:36:16 +0000 |
commit | 47a04096b06702ddd9ca9909573c3dff0b8a7590 (patch) | |
tree | 595b5d186709d27e1d16aa675d5716455cf65f1d | |
parent | 4853fc78fef28ddb3718dae966cc0d0c9685a8dd (diff) | |
parent | bbde59e804ee6d5bb5547071c0c59fd6cfb02d99 (diff) |
Merge branch 'doc-autopurge' into 'main'
Documentation for autopurge command
See merge request apt-team/apt!263
-rw-r--r-- | cmdline/apt-get.cc | 1 | ||||
-rw-r--r-- | cmdline/apt.cc | 1 | ||||
-rw-r--r-- | doc/apt-get.8.xml | 6 |
3 files changed, 8 insertions, 0 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 010021991..95c4a85ab 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -403,6 +403,7 @@ static bool ShowHelp(CommandLine &) /*{{{*/ /*}}}*/ static std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/ { + // advanced commands are left undocumented on purpose return { {"update", &DoUpdate, _("Retrieve new lists of packages")}, {"upgrade", &DoUpgrade, _("Perform an upgrade")}, diff --git a/cmdline/apt.cc b/cmdline/apt.cc index cc73181c0..7b56f39a6 100644 --- a/cmdline/apt.cc +++ b/cmdline/apt.cc @@ -55,6 +55,7 @@ static bool ShowHelp(CommandLine &) /*{{{*/ /*}}}*/ static std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/ { + // advanced commands are left undocumented on purpose return { // query {"list", &DoList, _("list packages based on package names")}, diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml index c882de737..41825ad95 100644 --- a/doc/apt-get.8.xml +++ b/doc/apt-get.8.xml @@ -255,6 +255,12 @@ installed to satisfy dependencies for other packages and are now no longer needed.</para></listitem> </varlistentry> + <varlistentry><term><option>autopurge</option></term> + <listitem><para>Like <literal>autoremove</literal>, but <literal>autopurge</literal> also + removes configuration files. This is a shortcut for <literal>autoremove + --purge</literal>.</para></listitem> + </varlistentry> + <varlistentry><term><option>changelog</option></term> <listitem><para><literal>changelog</literal> tries to download the changelog of a package and displays it through |