]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt.cc
Merge branch 'debian/sid' into bugfix/update-progress-reporting
[apt.git] / cmdline / apt.cc
index 5dbf868d79da83af354c9b5ea540c7453027b40d..72086af14a97779c1fc3cded2036248e0f56519d 100644 (file)
@@ -70,7 +70,7 @@ int main(int argc, const char *argv[])                                        /*{{{*/
 {
    CommandLine::Dispatch Cmds[] = {
                                    // query
-                                   {"list",&List},
+                                   {"list",&DoList},
                                    {"search", &FullTextSearch},
                                    {"show", &APT::Cmd::ShowPackage},
 
@@ -96,6 +96,10 @@ int main(int argc, const char *argv[])                                       /*{{{*/
 
    std::vector<CommandLine::Args> Args = getCommandArgs("apt", CommandLine::GetCommand(Cmds, argc, argv));
 
+   // Init the signals
+   InitSignals();
+
+   // Init the output
    InitOutput();
 
    // Set up gettext support
@@ -109,7 +113,7 @@ int main(int argc, const char *argv[])                                      /*{{{*/
     }
 
     // some different defaults
-   _config->CndSet("DPkgPM::Progress", "1");
+   _config->CndSet("DPkg::Progress-Fancy", "1");
    _config->CndSet("Apt::Color", "1");
    _config->CndSet("APT::Get::Upgrade-Allow-New", true);