X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/67111687c005d470d176a2029336e4f2b5dc77de..504bbe47e634f07c3de7a4868f63ee2ec142b9e4:/cmdline/apt-config.cc diff --git a/cmdline/apt-config.cc b/cmdline/apt-config.cc index 5d4efdcbc..34365dc2e 100644 --- a/cmdline/apt-config.cc +++ b/cmdline/apt-config.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: apt-config.cc,v 1.8 2002/01/09 04:59:44 jgg Exp $ +// $Id: apt-config.cc,v 1.11 2003/01/11 07:18:44 jgg Exp $ /* ###################################################################### APT Config - Program to manipulate APT configuration files @@ -23,10 +23,12 @@ #include #include - + +#include #include #include /*}}}*/ +using namespace std; // DoShell - Handle the shell command /*{{{*/ // --------------------------------------------------------------------- @@ -56,7 +58,7 @@ bool DoShell(CommandLine &CmdL) /* */ bool DoDump(CommandLine &CmdL) { - _config->Dump(); + _config->Dump(cout); return true; } /*}}}*/ @@ -82,7 +84,7 @@ int ShowHelp() "Options:\n" " -h This help text.\n" " -c=? Read this configuration file\n" - " -o=? Set an arbitary configuration option, eg -o dir::cache=/tmp\n"); + " -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp\n"); return 0; } /*}}}*/