summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2014-10-09 11:02:56 +0200
committerUrban Müller2014-10-09 11:02:56 +0200
commitb59c66321a9190ce4ec0197829258538efb5eb9a (patch)
tree8279642bf67f4abe8a83102003dd1f8c135f8311 /it.class
parentd5fcc1e190e104de9470f70d8476c466daa3a756 (diff)
downloaditools-b59c66321a9190ce4ec0197829258538efb5eb9a.tar.gz
itools-b59c66321a9190ce4ec0197829258538efb5eb9a.tar.bz2
itools-b59c66321a9190ce4ec0197829258538efb5eb9a.zip
allow debug param args with - in them
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index e0916c3..4e37fde 100644
--- a/it.class
+++ b/it.class
@@ -817,7 +817,7 @@ static function getopt($helplines, $p = array())
{
foreach (preg_split('/[.,]/', $result['debug']) as $ultrad)
{
- $ultravar = preg_split('/[-=:]/', $ultrad);
+ $ultravar = preg_split('/[-=:]/', $ultrad, 2);
$GLOBALS["debug_$ultravar[0]"] = isset($ultravar[1]) ? $ultravar[1] : 1;
}
}