aboutsummaryrefslogtreecommitdiff
path: root/src/mkhelp.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-05-21 07:21:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-05-21 07:21:44 +0000
commit509f69a45769bf3fa3ae6d08daeab944b051beb4 (patch)
treed4fc778cfddb24a929a78a4b401f51e7cea18d03 /src/mkhelp.pl
parent662c6592208abf87652ec98d6482cbcb9d8048bf (diff)
Gisle Vanem's fix to make the 'curl -M' output nicer
Diffstat (limited to 'src/mkhelp.pl')
-rw-r--r--src/mkhelp.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mkhelp.pl b/src/mkhelp.pl
index edc8d173e..d58ccf989 100644
--- a/src/mkhelp.pl
+++ b/src/mkhelp.pl
@@ -67,7 +67,7 @@ print "/* NEVER EVER edit this manually, fix the mkhelp script instead! */\n"
print "#include <stdio.h>\n";
print "void hugehelp(void)\n";
print "{\n";
-print "puts (\n";
+print " fputs (\n";
$outsize=0;
for(@out) {
@@ -82,13 +82,13 @@ for(@out) {
# gcc 2.96 claims ISO C89 only is required to support 509 letter strings
if($outsize > 500) {
- # terminate and make another puts() call here
- print ");\n puts(\n";
+ # terminate and make another fputs() call here
+ print ", stdout);\n fputs(\n";
$outsize=length($new)+1;
}
printf("\"%s\\n\"\n", $new);
}
-print " ) ;\n}\n"
+print ", stdout) ;\n}\n"