gen.pl: add '%GLOBALS' as a variable for mainpage

And use it in page-header to list all global command line options.
This commit is contained in:
Daniel Stenberg 2023-02-21 17:17:49 +01:00
parent 86ec17b856
commit ddff8ef706
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 39 additions and 2 deletions

View file

@ -201,3 +201,7 @@ prefix it with "no-". However, in this list we mostly only list and show the
When --next is used, it resets the parser state and you start again with a
clean option state, except for the options that are "global". Global options
will retain their values and meaning even after --next.
The following options are global:
%GLOBALS.