mirror of
https://github.com/curl/curl.git
synced 2026-08-24 14:03:35 +03:00
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
This commit is contained in:
parent
73afcfc0ae
commit
8b2f22ed29
3 changed files with 435 additions and 253 deletions
|
|
@ -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.-]*)/) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue