From 9055d5e68bd09f31df00e45bd14cb599ba3735e5 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Mon, 26 Oct 2015 19:30:44 +0100 Subject: hidden support more apt-get/apt-cache commands in apt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit apt is supposed to be a user-friendly interface, so while these commands are usually poweruser material and therefore do not need to be shown in general introduction manpages/help messages its of no use to not allow users to use them. This includes clean, autoclean, build-dep, source, download, changelog, depends, rdepends and showsrc – it doesn't include more non-interactive commands like dump or xvcg as those are usually used by scripts if at all. Closes: 778234, 780700, 781237 --- apt-private/private-download.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apt-private/private-download.h') diff --git a/apt-private/private-download.h b/apt-private/private-download.h index 7df8f284a..587165166 100644 --- a/apt-private/private-download.h +++ b/apt-private/private-download.h @@ -27,4 +27,12 @@ public: aptAcquireWithTextStatus(); }; +class CommandLine; + +APT_PUBLIC bool DoDownload(CommandLine &CmdL); +APT_PUBLIC bool DoChangelog(CommandLine &CmdL); + +APT_PUBLIC bool DoClean(CommandLine &CmdL); +APT_PUBLIC bool DoAutoClean(CommandLine &CmdL); + #endif -- cgit v1.2.3