From 75156c2f9f45ce37ace7fcecc46675469735cc1e Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 29 Feb 2012 14:38:18 +0000 Subject: set debug_verbose if $opts[verbose] --- it.class | 3 +++ 1 file changed, 3 insertions(+) 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; } -- cgit v1.2.3