summaryrefslogtreecommitdiff
path: root/cmdline/apt.cc
diff options
context:
space:
mode:
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);