1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
|
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:
|