diff options
| author | Sam Ravnborg <sam@ravnborg.org> | 2002-07-24 19:32:34 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-07-24 19:32:34 -0700 |
| commit | 8963f360236ffb7c86779b72f08e3acb77593899 (patch) | |
| tree | cd9be90a83dc2ec10fca1ba21cd5d69126c36d9f /scripts/kernel-doc | |
| parent | 5a96954572369bd306c4ab8d378c9413f9a7ea91 (diff) | |
[PATCH] kernel-doc: Improved support for man-page generation [2/9]
Forward port from 2.4, originally by Christoph Hellwig
Diffstat (limited to 'scripts/kernel-doc')
| -rwxr-xr-x | scripts/kernel-doc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 028e5a33ac42..3da4a9873338 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -870,7 +870,7 @@ sub output_function_man(%) { my ($parameter, $section); my $count; - print ".TH \"$args{'module'}\" 9 \"$args{'function'}\" \"$man_date\" \"API Manual\" LINUX\n"; + print ".TH \"$args{'function'}\" 9 \"$args{'function'}\" \"$man_date\" \"Kernel Hacker's Manual\" LINUX\n"; print ".SH NAME\n"; print $args{'function'}." \\- ".$args{'purpose'}."\n"; @@ -896,13 +896,13 @@ sub output_function_man(%) { $parenth = ""; } - print ".SH Arguments\n"; + print ".SH ARGUMENTS\n"; foreach $parameter (@{$args{'parameterlist'}}) { print ".IP \"".$parameter."\" 12\n"; output_highlight($args{'parameterdescs'}{$parameter}); } foreach $section (@{$args{'sectionlist'}}) { - print ".SH \"$section\"\n"; + print ".SH \"", uc $section, "\"\n"; output_highlight($args{'sections'}{$section}); } } |
