Description: Add missing options to dia2code man page
Author: Francesco Aloe <francescoaloe4gnulinux@gmail.com>
Forwarded: not-needed
Last-Update: 2007-12-13

--- a/docs/dia2code.1
+++ b/docs/dia2code.1
@@ -1,11 +1,9 @@
-.TH dia2code 1 "September 2, 2001"
-.LO 1
-.SH NAME
+.\" .LO 1
+.TH "dia2code" "1" "September 2, 2001" "" ""
+.SH "NAME"
 dia2code \- Generate code from Dia files
 .SH SYNOPSIS
 .B dia2code
-[\-h]
-[\-\-help]
 [\-t \fIprogramminglanguage\fR]
 [\-d \fIdir\fR]
 [\-nc]
@@ -13,15 +11,18 @@ dia2code \- Generate code from Dia files
 [\-cl \fIclasslist\fR]
 [\-v]
 diagramfile
+[\-h]
+[\-\-help]
 
-.SH DESCRIPTION
-.PP
+.LP .RP .IP .TP .br <\fI\fR
+.SH "DESCRIPTION"
+.PP 
 .B dia2code
 generates code from a Dia file containing a UML diagram. Output code can
 be: ActionScript3, Ada, C, C++, C#, Java, PHP4/PHP5, Python, Ruby, Shape File, or SQL create statements.
-.SH OPTIONS
-.PP
-.TP
+.SH "OPTIONS"
+.PP 
+.TP 
 .B \-h \-\-help
 Print help text and exit.
 .TP
@@ -47,7 +48,7 @@ Prepend the specified license to every s
 .TP
 .B diagramfile
 The Dia file that holds the diagram to be read.
-.SH AUTHOR
+.SH "AUTHOR"
 .PP
 Written by Javier O'Hara <joh314@users.sourceforge.net>
 with contributions from Ruben Lopez <ryu@gpul.org> (C code generation),
@@ -59,25 +60,25 @@ Jérôme Slangen <jeromes@mail.be> (Wild
 Takaaki Tateishi <> (Dynamic Shared Objects for dynamic code generator modules),
 Martin Vidner <mvidner@users.sourceforge.net> (Porting to libxml2).
 
-.SH THANKS
+.SH "THANKS"
 .PP
 Thanks to Collin Starkweather, Richard Torkar and Slush Gore for the extra
 help.
-.SH REPORTING BUGS
+.SH "REPORTING BUGS"
 .PP
 Report bugs to
 .br
 <http://sourceforge.net/bugs/?func=addbug&group_id=15307>.
-.SH COPYRIGHT
+.SH "COPYRIGHT"
 .PP
 Copyright \(co 2000-2001 Javier O'Hara
 .br
 This is free software, and you are welcome to redistribute it
 under certain conditions; read the COPYING file for details.
-.SH SEE ALSO
+.SH "SEE ALSO"
 .PP
 dia(1)
-.SH ALSO SEE ALSO
+.SH "ALSO SEE ALSO"
 .PP
 The
 .B Dia
