]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-config.cc
* apt-pkg/depcache.cc:
[apt.git] / cmdline / apt-config.cc
index d9b1ff00e050277839ae893b2a30ec09bb4a0d54..34365dc2e7e0265e2ca09c56e2b7684a6976d327 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
 // -*- 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
 /* ######################################################################
    
    APT Config - Program to manipulate APT configuration files
@@ -28,6 +28,7 @@
 #include <iostream>
 #include <string>
                                                                        /*}}}*/
 #include <iostream>
 #include <string>
                                                                        /*}}}*/
+using namespace std;
 
 // DoShell - Handle the shell command                                  /*{{{*/
 // ---------------------------------------------------------------------
 
 // DoShell - Handle the shell command                                  /*{{{*/
 // ---------------------------------------------------------------------
@@ -57,7 +58,7 @@ bool DoShell(CommandLine &CmdL)
 /* */
 bool DoDump(CommandLine &CmdL)
 {
 /* */
 bool DoDump(CommandLine &CmdL)
 {
-   _config->Dump();
+   _config->Dump(cout);
    return true;
 }
                                                                        /*}}}*/
    return true;
 }
                                                                        /*}}}*/
@@ -83,7 +84,7 @@ int ShowHelp()
       "Options:\n"
       "  -h   This help text.\n" 
       "  -c=? Read this configuration file\n" 
       "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;
 }
                                                                        /*}}}*/
    return 0;
 }
                                                                        /*}}}*/