diff options
author | Urban Müller | 2014-10-09 11:02:56 +0200 |
---|---|---|
committer | Urban Müller | 2014-10-09 11:02:56 +0200 |
commit | b59c66321a9190ce4ec0197829258538efb5eb9a (patch) | |
tree | 8279642bf67f4abe8a83102003dd1f8c135f8311 | |
parent | d5fcc1e190e104de9470f70d8476c466daa3a756 (diff) | |
download | itools-b59c66321a9190ce4ec0197829258538efb5eb9a.tar.gz itools-b59c66321a9190ce4ec0197829258538efb5eb9a.tar.bz2 itools-b59c66321a9190ce4ec0197829258538efb5eb9a.zip |
allow debug param args with - in them
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } } |