summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-13 05:45:29 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-13 05:45:29 (GMT)
commitb696712ecaad7a14754ad4bd271d241978d29646 (patch)
tree591eb0c24ce727ac4cbadc2e011fa731fb55aab1 /bin
parent6b641dde82a42fb6a0ed63335022ab390aa72014 (diff)
downloadQt-b696712ecaad7a14754ad4bd271d241978d29646.zip
Qt-b696712ecaad7a14754ad4bd271d241978d29646.tar.gz
Qt-b696712ecaad7a14754ad4bd271d241978d29646.tar.bz2
fix -quiet
Diffstat (limited to 'bin')
-rwxr-xr-xbin/syncqt9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/syncqt b/bin/syncqt
index 7c3be72..9fe146b 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -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++;