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
commit9e81e6a1d25bde90d61da3e28538c936bc2133ae (patch)
treef893bc016f109bd25c811c6f296aed9505835731 /perl.c
parentfd550ca5b499626bda80de22d8c27e79f2805c9f (diff)
downloadperl-9e81e6a1d25bde90d61da3e28538c936bc2133ae.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;