git.cweiske.de
/
bdrem.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debug option for mail renderer
[bdrem.git]
/
src
/
bdrem
/
UserInterface.php
diff --git
a/src/bdrem/UserInterface.php
b/src/bdrem/UserInterface.php
index b0b21ccff6249a3b7b523d1a8ba398bda52e6fda..8a25bf4967a9438243404bfd7574ef966412ce4c 100644
(file)
--- a/
src/bdrem/UserInterface.php
+++ b/
src/bdrem/UserInterface.php
@@
-149,6
+149,14
@@
abstract class UserInterface
'action' => 'StoreString'
)
);
'action' => 'StoreString'
)
);
+ $parser->addOption(
+ 'debug',
+ array(
+ 'long_name' => '--debug',
+ 'description' => 'Development helper (mail)',
+ 'action' => 'StoreTrue'
+ )
+ );
return $parser;
}
return $parser;
}
@@
-171,6
+179,7
@@
abstract class UserInterface
$this->config->daysNext = $result->options['daysNext'];
$this->config->daysPrev = $result->options['daysPrev'];
$this->config->daysNext = $result->options['daysNext'];
$this->config->daysPrev = $result->options['daysPrev'];
+ $this->config->debug = $result->options['debug'];
$this->config->renderer = $result->options['renderer'];
$this->config->stopOnEmpty = $result->options['stopOnEmpty'];
$this->config->setDate($result->options['date']);
$this->config->renderer = $result->options['renderer'];
$this->config->stopOnEmpty = $result->options['stopOnEmpty'];
$this->config->setDate($result->options['date']);