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

diff -Nur dia2code-0.8.3/dia2code.1 dia2code-0.8.3.new/dia2code.1
--- dia2code-0.8.3/dia2code.1	2007-01-05 19:14:49.000000000 +0100
+++ dia2code-0.8.3.new/dia2code.1	2007-12-15 02:34:38.000000000 +0100
@@ -1,54 +1,55 @@
-.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
+.SH "SYNOPSIS"
 .B dia2code
-[\-h]
-[\-\-help]
-[\-t \fIada|c|cpp|java|php|python|shp|sql\fR]
+[\-t \fIada|c|cpp|cs|java|php|php5|python|ruby|shp|sql\fR]
 [\-d \fIdir\fR]
 [\-nc]
 [\-c]
 [\-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: Ada, C, C++, C#, Java, PHP, Python, Ruby, Shape File or SQL create statements.
-.SH OPTIONS
-.PP
-.TP
+be: Ada, C, C++, C#, Java, PHP, PHP5, Python, Ruby, shapefiles and SQL.
+.SH "OPTIONS"
+.PP 
+.TP 
 .B \-h \-\-help
 Print help text and exit.
-.TP
+.TP 
 .B \-t ada|c|cpp|cs|java|php|php5|python|ruby|shp|sql
 Selects the output language, default is C++.
-.TP
+.TP 
 .B \-d dir
 Output generated files to <dir>, default is "."
-.TP
+.TP 
 .B \-nc
 Do not overwrite files that already exist.
-.TP
+.TP 
 .B \-cl classlist
-Generate code only for the classes specified in the comma-separated <classlist>.
+Generate code only for the classes specified in the comma\-separated <classlist>.
  E.g: Base,Derived.
-.TP
+.TP 
 .B \-v
-Invert the class list selection.  When used without -cl prevents any file from
+Invert the class list selection.  When used without \-cl prevents any file from
  being created.
-.TP
+.TP 
 .B \-l licensefile
 Prepend the specified license to every source file generated.
-.TP
+.TP 
 .B diagramfile
 The Dia file that holds the diagram to be read.
-.SH AUTHOR
-.PP
+.SH "AUTHOR"
+.PP 
 Written by Javier O'Hara <joh314@users.sourceforge.net>
 with contributions from Ruben Lopez <ryu@gpul.org> (C code generation),
 Chris McGee <sirnewton_01@yahoo.ca> (Dependencies, Associations, C++ Templates,
@@ -59,31 +60,31 @@
 Takaaki Tateishi <> (Dynamic Shared Objects for dynamic code generator modules),
 Martin Vidner <mvidner@users.sourceforge.net> (Porting to libxml2).
 
-.SH THANKS
-.PP
+.SH "THANKS"
+.PP 
 Thanks to Collin Starkweather, Richard Torkar and Slush Gore for the extra
 help.
-.SH REPORTING BUGS
-.PP
+.SH "REPORTING BUGS"
+.PP 
 Report bugs to
-.br
+.br 
 <http://sourceforge.net/bugs/?func=addbug&group_id=15307>.
-.SH COPYRIGHT
-.PP
-Copyright \(co 2000-2001 Javier O'Hara
-.br
+.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
-.PP
+.SH "SEE ALSO"
+.PP 
 dia(1)
-.SH ALSO SEE ALSO
-.PP
+.SH "ALSO SEE ALSO"
+.PP 
 The
 .B Dia
 homepage:
-<http://www.lysator.liu.se/~alla/dia>
-.br
+<http://live.gnome.org/Dia>
+.br 
 The
 .B dia2code
 homepage:
