summaryrefslogtreecommitdiff
path: root/tests/manpage-scan.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-05-08 23:30:29 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-05-08 23:30:29 +0200
commit8b2f22ed29dc06eb55941c82c6ee48bdd7542487 (patch)
tree8e3841c08faa728849237d8bf7c933e23ed25886 /tests/manpage-scan.pl
parent73afcfc0ae5dc70821d5f1ac0b1f897fd67efe97 (diff)
downloadcurl-8b2f22ed29dc06eb55941c82c6ee48bdd7542487.tar.gz
curl: generate the --help output
... using the docs/cmdline-opts/gen.pl script, so that we get all the command line option documentation from the same source. The generation of the list has to be done manually and pasted into the source code. Closes #1465
Diffstat (limited to 'tests/manpage-scan.pl')
-rw-r--r--tests/manpage-scan.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manpage-scan.pl b/tests/manpage-scan.pl
index aa67f7f83..b6864c857 100644
--- a/tests/manpage-scan.pl
+++ b/tests/manpage-scan.pl
@@ -6,7 +6,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 2016, 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -232,7 +232,7 @@ my @toolhelp; # store all parsed parameters
while(<R>) {
chomp;
my $l= $_;
- if(/^ \" *(.*)/) {
+ if(/^ \{\" *(.*)/) {
my $str=$1;
my $combo;
if($str =~ /^-(.), --([a-z0-9.-]*)/) {