aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-02-01 06:06:57 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-01 11:53:27 -0500
commitd28bee0c0a9c6abddf1d14c69f188400e994eb5a (patch)
treefb05862b35aa6f4f96867c9baeb4d6508d55bdb9 /scripts/kernel-doc
parent7045f37b17ffa6e85435ca980122b46a74caa7e4 (diff)
[PATCH] Doc/kernel-doc: add more usage info
- Add info that structs, unions, enums, and typedefs are supported. - Add doc about "private:" and "public:" tags for struct fields. - Fix some typos. - Remove some trailing whitespace. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-xscripts/kernel-doc6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index b927fd25e968..940fe348009f 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -45,7 +45,7 @@ use strict;
45# Note: This only supports 'c'. 45# Note: This only supports 'c'.
46 46
47# usage: 47# usage:
48# kerneldoc [ -docbook | -html | -text | -man ] 48# kernel-doc [ -docbook | -html | -text | -man ]
49# [ -function funcname [ -function funcname ...] ] c file(s)s > outputfile 49# [ -function funcname [ -function funcname ...] ] c file(s)s > outputfile
50# or 50# or
51# [ -nofunction funcname [ -function funcname ...] ] c file(s)s > outputfile 51# [ -nofunction funcname [ -function funcname ...] ] c file(s)s > outputfile
@@ -59,7 +59,7 @@ use strict;
59# -nofunction funcname 59# -nofunction funcname
60# If set, then only generate documentation for the other function(s). All 60# If set, then only generate documentation for the other function(s). All
61# other functions are ignored. Cannot be used with -function together 61# other functions are ignored. Cannot be used with -function together
62# (yes thats a bug - perl hackers can fix it 8)) 62# (yes, that's a bug -- perl hackers can fix it 8))
63# 63#
64# c files - list of 'c' files to process 64# c files - list of 'c' files to process
65# 65#
@@ -434,7 +434,7 @@ sub output_enum_html(%) {
434 print "<hr>\n"; 434 print "<hr>\n";
435} 435}
436 436
437# output tyepdef in html 437# output typedef in html
438sub output_typedef_html(%) { 438sub output_typedef_html(%) {
439 my %args = %{$_[0]}; 439 my %args = %{$_[0]};
440 my ($parameter); 440 my ($parameter);