summaryrefslogtreecommitdiff
path: root/cmdline/apt.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-10-17 00:26:57 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-11-04 18:04:02 +0100
commit631800b139834947b21c49153ba7862b1f4e6984 (patch)
tree394a0ad9c169b3f3cb0ab4bb92cb58d61895dcd4 /cmdline/apt.cc
parent501cd23e1e85e59d18e883496a0d7f7576778054 (diff)
move 'search' implementations as well
Git-Dch: Ignore
Diffstat (limited to 'cmdline/apt.cc')
-rw-r--r--cmdline/apt.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/cmdline/apt.cc b/cmdline/apt.cc
index 78cfd5c91..efc263a5d 100644
--- a/cmdline/apt.cc
+++ b/cmdline/apt.cc
@@ -71,7 +71,7 @@ int main(int argc, const char *argv[]) /*{{{*/
CommandLine::Dispatch Cmds[] = {
// query
{"list",&DoList},
- {"search", &FullTextSearch},
+ {"search", &DoSearch},
{"show", &ShowPackage},
// package stuff
@@ -114,12 +114,6 @@ int main(int argc, const char *argv[]) /*{{{*/
return 100;
}
- // some different defaults
- _config->CndSet("DPkg::Progress-Fancy", "1");
- _config->CndSet("Apt::Color", "1");
- _config->CndSet("APT::Get::Upgrade-Allow-New", true);
- _config->CndSet("APT::Cmd::Show-Update-Stats", true);
-
// Parse the command line and initialize the package library
CommandLine CmdL;
ParseCommandLine(CmdL, Cmds, Args.data(), NULL, &_system, argc, argv, ShowHelp);