diff options
author | Urban Müller | 2012-02-29 14:38:18 +0000 |
---|---|---|
committer | Urban Müller | 2012-02-29 14:38:18 +0000 |
commit | 75156c2f9f45ce37ace7fcecc46675469735cc1e (patch) | |
tree | 7d713e545a25dbdedaa7689766a2cba863795300 | |
parent | fca15328ed73646d809fb9ab767c7f7928aaff62 (diff) | |
download | itools-75156c2f9f45ce37ace7fcecc46675469735cc1e.tar.gz itools-75156c2f9f45ce37ace7fcecc46675469735cc1e.tar.bz2 itools-75156c2f9f45ce37ace7fcecc46675469735cc1e.zip |
set debug_verbose if $opts[verbose]
-rw-r--r-- | it.class | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -670,6 +670,9 @@ static function getopt($helplines) $GLOBALS['it_stdin']['args'] = $result['args'] ? $result['args'] : array("-"); it::_stdin_next(); + if ($result['verbose']) + $GLOBALS['debug_verbose']++; + return $result; } |