X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=darcs-all;h=4e6768335585358394a573a4110ee827bbfbbd52;hb=3d8dbba7d24c9139b800f4ccf31c50b11596fc2e;hp=70cf16506ebfc88486b4f34ff6ab2b37bd191608;hpb=56bf673097811e7fa362ae3741f6ff4ea872475b;p=ghc-hetmet.git diff --git a/darcs-all b/darcs-all index 70cf165..4e67683 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; } }