diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-11-13 05:45:29 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-11-13 05:45:29 (GMT) |
commit | b696712ecaad7a14754ad4bd271d241978d29646 (patch) | |
tree | 591eb0c24ce727ac4cbadc2e011fa731fb55aab1 /bin/syncqt | |
parent | 6b641dde82a42fb6a0ed63335022ab390aa72014 (diff) | |
download | Qt-b696712ecaad7a14754ad4bd271d241978d29646.zip Qt-b696712ecaad7a14754ad4bd271d241978d29646.tar.gz Qt-b696712ecaad7a14754ad4bd271d241978d29646.tar.bz2 |
fix -quiet
Diffstat (limited to 'bin/syncqt')
-rwxr-xr-x | bin/syncqt | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -581,6 +581,9 @@ while ( @ARGV ) { } elsif("$arg" eq "-show") { $var = "showonly"; $val = "yes"; + } elsif("$arg" eq "-quiet") { + $var = "quiet"; + $val = "yes"; } elsif("$arg" eq '*') { # workaround for windows 9x where "%*" expands to "*" $var = 1; @@ -602,6 +605,12 @@ while ( @ARGV ) { } elsif($showonly) { $showonly--; } + } elsif ("$var" eq "quiet") { + if("$val" eq "yes") { + $quiet++; + } elsif($quiet) { + $quiet--; + } } elsif ("$var" eq "check-includes") { if("$val" eq "yes") { $check_includes++; |