1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Include an EXAMPLES section in the man page.

This commit is contained in:
hniksic 2005-05-07 15:10:29 -07:00
parent 62b6b8abf5
commit d0a05ccfb4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-05-08 Hrvoje Niksic <hniksic@xemacs.org>
* texi2pod.pl.in: Allow an "EXAMPLES" section.
2005-05-06 Hrvoje Niksic <hniksic@xemacs.org> 2005-05-06 Hrvoje Niksic <hniksic@xemacs.org>
* wget.texi (HTTP Options): Document empty user-agent. * wget.texi (HTTP Options): Document empty user-agent.

View File

@ -308,7 +308,7 @@ die "No filename or title\n" unless defined $fn && defined $tl;
$sects{NAME} = "$fn \- $tl\n"; $sects{NAME} = "$fn \- $tl\n";
$sects{FOOTNOTES} .= "=back\n" if exists $sects{FOOTNOTES}; $sects{FOOTNOTES} .= "=back\n" if exists $sects{FOOTNOTES};
for $sect (qw(NAME SYNOPSIS DESCRIPTION OPTIONS ENVIRONMENT FILES for $sect (qw(NAME SYNOPSIS DESCRIPTION OPTIONS ENVIRONMENT EXAMPLES FILES
BUGS NOTES FOOTNOTES SEEALSO AUTHOR COPYRIGHT)) { BUGS NOTES FOOTNOTES SEEALSO AUTHOR COPYRIGHT)) {
if(exists $sects{$sect}) { if(exists $sects{$sect}) {
$head = $sect; $head = $sect;