From 501cd23e1e85e59d18e883496a0d7f7576778054 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 16 Oct 2015 21:34:51 +0200 Subject: centralize 'show' implementation of apt and apt-cache The show commands have different styles in both binaries as the audience is potentially very different, but that doesn't mean we need to separate the implementation especially as they are slightly similar. This also allows us to switch between the different show versions at runtime via an option. Git-Dch: Ignore --- cmdline/apt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdline/apt.cc') diff --git a/cmdline/apt.cc b/cmdline/apt.cc index 92db34cfa..78cfd5c91 100644 --- a/cmdline/apt.cc +++ b/cmdline/apt.cc @@ -72,7 +72,7 @@ int main(int argc, const char *argv[]) /*{{{*/ // query {"list",&DoList}, {"search", &FullTextSearch}, - {"show", &APT::Cmd::ShowPackage}, + {"show", &ShowPackage}, // package stuff {"install",&DoInstall}, -- cgit v1.2.3