summaryrefslogtreecommitdiff
path: root/apt-private/private-show.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-10-26 19:30:44 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-11-04 18:04:04 +0100
commit9055d5e68bd09f31df00e45bd14cb599ba3735e5 (patch)
tree0cab141c3e7fdf5de5e9940dd394b9dbf0503c62 /apt-private/private-show.h
parent41d39345bdc31cb9b8be057cd678aa2890830437 (diff)
hidden support more apt-get/apt-cache commands in apt
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
Diffstat (limited to 'apt-private/private-show.h')
-rw-r--r--apt-private/private-show.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-private/private-show.h b/apt-private/private-show.h
index b38c65f2f..80871b817 100644
--- a/apt-private/private-show.h
+++ b/apt-private/private-show.h
@@ -11,5 +11,7 @@ class pkgCacheFile;
APT_PUBLIC bool ShowPackage(CommandLine &CmdL);
APT_PUBLIC bool DisplayRecordV1(pkgCacheFile &CacheFile, pkgCache::VerIterator const &V, std::ostream &out);
+APT_PUBLIC bool ShowSrcPackage(CommandLine &CmdL);
+APT_PUBLIC bool Policy(CommandLine &CmdL);
#endif