projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use a primop for getting the fields of the AP_STACK rather than an FFI call
[ghc-hetmet.git]
/
darcs-all
diff --git
a/darcs-all
b/darcs-all
index
70cf165
..
4e67683
100644
(file)
--- a/
darcs-all
+++ b/
darcs-all
@@
-124,6
+124,8
@@
sub main {
while ($#_ ne -1) {
my $arg = shift;
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;
}
if ($arg eq "-q") {
$verbose = 0;
}
@@
-138,6
+140,9
@@
sub main {
}
else {
unshift @_, $arg;
}
else {
unshift @_, $arg;
+ if (grep /^-q$/, @_) {
+ $verbose = 0;
+ }
last;
}
}
last;
}
}