summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2012-02-29 14:38:18 +0000
committerUrban Müller2012-02-29 14:38:18 +0000
commit75156c2f9f45ce37ace7fcecc46675469735cc1e (patch)
tree7d713e545a25dbdedaa7689766a2cba863795300
parentfca15328ed73646d809fb9ab767c7f7928aaff62 (diff)
downloaditools-75156c2f9f45ce37ace7fcecc46675469735cc1e.tar.gz
itools-75156c2f9f45ce37ace7fcecc46675469735cc1e.tar.bz2
itools-75156c2f9f45ce37ace7fcecc46675469735cc1e.zip
set debug_verbose if $opts[verbose]
-rw-r--r--it.class3
1 files changed, 3 insertions, 0 deletions
diff --git a/it.class b/it.class
index 36bc903..77ede28 100644
--- a/it.class
+++ b/it.class
@@ -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;
}