projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6460cff
)
RunGenerator.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 5 Sep 2011 05:48:27 +0000
(13:48 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 5 Sep 2011 05:48:27 +0000
(13:48 +0800)
RunGenerator.php
patch
|
blob
|
history
diff --git
a/RunGenerator.php
b/RunGenerator.php
index
7168cac
..
8a0a38a
100644
(file)
--- a/
RunGenerator.php
+++ b/
RunGenerator.php
@@
-19,7
+19,7
@@
class Pman_Core_RunGenerator extends Pman
'short' => 'm',
'default' => '',
'min' => 1,
'short' => 'm',
'default' => '',
'min' => 1,
- 'max' =>
1
,
+ 'max' =>
0
,
),
'overwrite' => array(
),
'overwrite' => array(
@@
-73,7
+73,7
@@
class Pman_Core_RunGenerator extends Pman
// $x->page = clone($this);
// $x->page = clone($this);
- $modules = is_string($opts['module
s']) ? array($opts['modules']) : $opts['modules
'];
+ $modules = is_string($opts['module
']) ? array($opts['module']) : $opts['module
'];
$overwrite = is_string($opts['overwrite']) ? array($opts['overwrite']) : $opts['overwrite'];
$x->start($this->cli, $modules, $overwrite);
$overwrite = is_string($opts['overwrite']) ? array($opts['overwrite']) : $opts['overwrite'];
$x->start($this->cli, $modules, $overwrite);