]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-config.cc
* Fix typo in apt-cache(8) (Closes: #238578)
[apt.git] / cmdline / apt-config.cc
index 5d4efdcbc075c79e19d656e586ea72ad6c2d20df..1c3de2bed3f37cb86bc0d8fcb50a8e726b16309b 100644 (file)
@@ -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
 
 #include <config.h>
 #include <apti18n.h>
-    
+
+#include <locale.h>
 #include <iostream>
 #include <string>
                                                                        /*}}}*/
+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;
 }
                                                                        /*}}}*/