projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7bf10e
)
HTML/FlexyFramework/Cli.php
author
Alan Knowles
<alan@roojs.com>
Thu, 25 Oct 2018 04:15:28 +0000
(12:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 25 Oct 2018 04:15:28 +0000
(12:15 +0800)
HTML/FlexyFramework/Cli.php
patch
|
blob
|
history
diff --git
a/HTML/FlexyFramework/Cli.php
b/HTML/FlexyFramework/Cli.php
index
4208494
..
1b863d3
100644
(file)
--- a/
HTML/FlexyFramework/Cli.php
+++ b/
HTML/FlexyFramework/Cli.php
@@
-304,6
+304,16
@@
Available commands:
$newargs = Console_Getargs::factory($val, $ar);
+ // we need to read our 'special arguments' here - otherwise other arguments, cause getargs to fail
+ switch (true) {
+ case in_array('--pman-nodatabase', $ar):
+ echo "Turning off database\n";
+ $this->ff->nodatabase= true;
+
+ break;
+ }
+
+
if (is_a($newargs, 'PEAR_Error')) {
list($optional, $required, $params) = Console_Getargs::getOptionalRequired($val);