Dump.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 22 Mar 2011 03:42:07 +0000 (11:42 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 22 Mar 2011 03:42:07 +0000 (11:42 +0800)
Dump.php

index 76813aa..c6cf252 100644 (file)
--- a/Dump.php
+++ b/Dump.php
@@ -71,7 +71,7 @@ class Pman_Admin_Dump extends Pman {
         array_shift($argv);
         array_shift($argv);
         
-        $opts = explode(',', 'table==,where==,dump-dir==,dump-dir==,debug=');
+        $opts = explode(',', 'table==,where==,dump-dir==,debug=');
         require_once 'Console/Getopt.php';
         $go = Console_Getopt::getopt2($argv, '', $opts );
         if (is_object($go)) {