summaryrefslogtreecommitdiff
path: root/darcs-all
diff options
context:
space:
mode:
Diffstat (limited to 'darcs-all')
-rw-r--r--darcs-all5
1 files changed, 5 insertions, 0 deletions
diff --git a/darcs-all b/darcs-all
index 70cf16506e..4e67683355 100644
--- a/darcs-all
+++ b/darcs-all
@@ -124,6 +124,8 @@ sub main {
while ($#_ ne -1) {
my $arg = shift;
+ # We handle -q here as well as lower down as we need to skip over it
+ # if it comes before the darcs command
if ($arg eq "-q") {
$verbose = 0;
}
@@ -138,6 +140,9 @@ sub main {
}
else {
unshift @_, $arg;
+ if (grep /^-q$/, @_) {
+ $verbose = 0;
+ }
last;
}
}