projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
releasing 1.0.7
[apt.git]
/
cmdline
/
apt.cc
diff --git
a/cmdline/apt.cc
b/cmdline/apt.cc
index 5dbf868d79da83af354c9b5ea540c7453027b40d..2cfdf8e8e4e046da431f911bc14fb1ee3567cddf 100644
(file)
--- a/
cmdline/apt.cc
+++ b/
cmdline/apt.cc
@@
-70,7
+70,7
@@
int main(int argc, const char *argv[]) /*{{{*/
{
CommandLine::Dispatch Cmds[] = {
// query
{
CommandLine::Dispatch Cmds[] = {
// query
- {"list",&List},
+ {"list",&
Do
List},
{"search", &FullTextSearch},
{"show", &APT::Cmd::ShowPackage},
{"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));
std::vector<CommandLine::Args> Args = getCommandArgs("apt", CommandLine::GetCommand(Cmds, argc, argv));
+ // Init the signals
+ InitSignals();
+
+ // Init the output
InitOutput();
// Set up gettext support
InitOutput();
// Set up gettext support
@@
-109,9
+113,10
@@
int main(int argc, const char *argv[]) /*{{{*/
}
// some different defaults
}
// some different defaults
- _config->CndSet("DPkg
PM::Progress
", "1");
+ _config->CndSet("DPkg
::Progress-Fancy
", "1");
_config->CndSet("Apt::Color", "1");
_config->CndSet("APT::Get::Upgrade-Allow-New", true);
_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(Args.data(), _config);
// Parse the command line and initialize the package library
CommandLine CmdL(Args.data(), _config);