Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alex D
GHC
Commits
a28ba79a
Commit
a28ba79a
authored
Sep 13, 2007
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give darcs-all a -s (silent) flag
parent
d5938fb2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
darcs-all
darcs-all
+9
-4
No files found.
darcs-all
View file @
a28ba79a
...
...
@@ -31,7 +31,7 @@ else {
die
"
Couldn't work out defaultrepo
";
}
my
$verbose
=
1
;
my
$verbose
=
2
;
my
$ignore_failure
=
0
;
# --extra says we grab the extra libs with 'get'. It has no effect on
...
...
@@ -43,13 +43,15 @@ my $nofib = 0;
my
$testsuite
=
0
;
sub
message
{
if
(
$verbose
)
{
if
(
$verbose
>=
2
)
{
print
"
@_
\n
";
}
}
sub
warning
{
if
(
$verbose
>=
1
)
{
print
"
warning:
@_
\n
";
}
}
sub
darcs
{
...
...
@@ -132,6 +134,9 @@ sub main {
# 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
=
1
;
}
elsif
(
$arg
eq
"
-s
")
{
$verbose
=
0
;
}
elsif
(
$arg
eq
"
--extra
")
{
...
...
@@ -146,7 +151,7 @@ sub main {
else
{
unshift
@
_
,
$arg
;
if
(
grep
/^-q$/
,
@
_
)
{
$verbose
=
0
;
$verbose
=
1
;
}
last
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment