shishi-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS shishi/doc


From: shishi-commit
Subject: CVS shishi/doc
Date: Sun, 21 Nov 2004 19:13:46 +0100

Update of /home/cvs/shishi/doc
In directory dopio:/tmp/cvs-serv11248

Modified Files:
        gdoc 
Log Message:
Make sure all man pages follow 'foo -- purpose of foo' format, even if
there is no purpose description available.


--- /home/cvs/shishi/doc/gdoc   2004/11/21 18:04:50     1.9
+++ /home/cvs/shishi/doc/gdoc   2004/11/21 18:13:46     1.10
@@ -600,8 +600,11 @@
     print ".SH NAME\n";
 
     print $args{'function'};
-    print " \\- " . $args{'purpose'} if ($args{'purpose'});
-    print "\n";
+    if ($args{'purpose'}) {
+       print " \\- " . $args{'purpose'} . "\n";
+    } else {
+       print " \\- API function\n";
+    }
 
     print ".SH SYNOPSIS\n";
     print ".B #include <". $args{'include'} . ">\n"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]