summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Németh <homar@riseup.net>2023-12-15 12:57:16 +0100
committerGábor Németh <homar@riseup.net>2023-12-15 12:57:16 +0100
commit6c5384e10aea6585c602cb8fca8c9eea8ff16ba5 (patch)
treeb6c850ebf762dff0b5335a83602f902d2d0dbe6a
parentc555d8f1ae31d1f511bf811640423231b75a8e13 (diff)
Add 'dist-clean' to 'apt-get' too
-rw-r--r--cmdline/apt-get.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 95c4a85ab..d41e0f243 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -424,6 +424,8 @@ static std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/
{"clean", &DoClean, _("Erase downloaded archive files")},
{"autoclean", &DoAutoClean, _("Erase old downloaded archive files")},
{"auto-clean", &DoAutoClean, nullptr},
+ {"distclean", &DoDistClean, nullptr},
+ {"dist-clean", &DoDistClean, nullptr},
{"check", &DoCheck, _("Verify that there are no broken dependencies")},
{"source", &DoSource, _("Download source archives")},
{"download", &DoDownload, _("Download the binary package into the current directory")},