X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/233c2b66e8972bddf34f291bdb2330ea134abc0f..06ca542db20aa4f4cd1e56c12ccda0ec2339b835:/cmdline/apt-config.cc diff --git a/cmdline/apt-config.cc b/cmdline/apt-config.cc index d9b1ff00e..63fa0867c 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.9 2002/02/15 03:40:00 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 @@ -28,6 +28,7 @@ #include #include /*}}}*/ +using namespace std; // DoShell - Handle the shell command /*{{{*/ // --------------------------------------------------------------------- @@ -57,7 +58,7 @@ bool DoShell(CommandLine &CmdL) /* */ bool DoDump(CommandLine &CmdL) { - _config->Dump(); + _config->Dump(cout); return true; } /*}}}*/ @@ -66,8 +67,8 @@ bool DoDump(CommandLine &CmdL) /* */ int ShowHelp() { - ioprintf(cout,_("%s %s for %s %s compiled on %s %s\n"),PACKAGE,VERSION, - COMMON_OS,COMMON_CPU,__DATE__,__TIME__); + ioprintf(cout,_("%s %s for %s compiled on %s %s\n"),PACKAGE,VERSION, + COMMON_ARCH,__DATE__,__TIME__); if (_config->FindB("version") == true) return 0; @@ -83,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; } /*}}}*/