mirror of
https://github.com/curl/curl.git
synced 2026-08-26 04:43:35 +03:00
tool_listhelp: easier to generate with gen.pl
tool_listhelp.c is now a separate file with only the command line --help output, exactly as generated by gen.pl. This makes it easier to generate updates according to what's in the docs/cmdline-opts docs. cd $srcroot/docs/cmdline-opts ./gen.pl listhelp *.d > $srcroot/src/tool_listhelp.c With a configure build, this also works: make -C src listhelp Closes #7787
This commit is contained in:
parent
d10a0af2f3
commit
ffb634d4ef
9 changed files with 862 additions and 790 deletions
|
|
@ -150,3 +150,6 @@ TIDY:=clang-tidy
|
|||
|
||||
tidy:
|
||||
$(TIDY) $(CURL_CFILES) $(TIDYFLAGS) -- $(curl_CPPFLAGS) $(CPPFLAGS) -DHAVE_CONFIG_H
|
||||
|
||||
listhelp:
|
||||
(cd $(top_srcdir)/docs/cmdline-opts && ./gen.pl listhelp *.d) > tool_listhelp.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue