* [PATCH] kernel-doc: make man/text mode function output same
@ 2006-06-30 18:04 Randy.Dunlap
0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2006-06-30 18:04 UTC (permalink / raw)
To: lkml; +Cc: akpm, tali
From: Randy Dunlap <rdunlap@xenotime.net>
Make output of function descriptions in text mode match contents
of 'man' mode by adding Name: plus function-short-description ("purpose")
and changing Function: to Synopsis:.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
scripts/kernel-doc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
--- linux-2617-g13.orig/scripts/kernel-doc
+++ linux-2617-g13/scripts/kernel-doc
@@ -1118,7 +1118,10 @@ sub output_function_text(%) {
my %args = %{$_[0]};
my ($parameter, $section);
- print "Function:\n\n";
+ print "Name:\n\n";
+ print $args{'function'}." - ".$args{'purpose'}."\n";
+
+ print "\nSynopsis:\n\n";
my $start=$args{'functiontype'}." ".$args{'function'}." (";
print $start;
my $count = 0;
---
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-30 18:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-30 18:04 [PATCH] kernel-doc: make man/text mode function output same Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®