summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-11-02 08:18:15 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-11-02 08:18:15 +0000
commitd8457eb5637fdd920f56864db3f9e88de755cae6 (patch)
treef893bc016f109bd25c811c6f296aed9505835731 /perl.c
parent67c4a41158af70204a5fde5b492bb5405f0fe0f8 (diff)
downloadperl-d8457eb5637fdd920f56864db3f9e88de755cae6.tar.gz
Reformulate an error
(so the error message given by "perl -M" is a bit more meaningful, as Jarkko pointed out) p4raw-id: //depot/perl@23465
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 65b02a09c9..1525df222d 100644
--- a/perl.c
+++ b/perl.c
@@ -2678,7 +2678,7 @@ Perl_moreswitches(pTHX_ char *s)
av_push(PL_preambleav, sv);
}
else
- Perl_croak(aTHX_ "No space allowed after -%c", *(s-1));
+ Perl_croak(aTHX_ "Missing argument to -%c", *(s-1));
return s;
case 'n':
PL_minus_n = TRUE;