Hello,
here below a patch to fix the following errors in the pyreverse.1 manpage:
* hyphen-used-as-minus-sign
* (pyreverse.1.gz, line 58) warning: numeric expression expected (got `a')
--- ../../tmp/pylint-0.20.0/man/pyreverse.1 2009-11-25 11:01:43.000000000 +0100
+++ pylint-0.20.0/man/pyreverse.1 2010-03-28 11:29:39.390544723 +0200
@@ -16,27 +16,27 @@
With different options, you can have fine tuning on what and how modules,
classes and attributes will be shown in the diagram.
You can combine several modules in one project (except with
-.B -c
+.B \-c
).
-If no -c and no --diadefs option specified,
+If no \-c and no \-\-diadefs option specified,
.B pyreverse
will create
- - a diagram 'classes_' for the classes in and
+ \- a diagram 'classes_' for the classes in and
( if there is more than one module in )
- - a diagram 'packages_' for the package dependencies in
+ \- a diagram 'packages_' for the package dependencies in
-With -c ,
+With \-c ,
.B pyreverse
creates a diagram for that with filename ..
-You can do -c , -c .
+You can do \-c , \-c .
.SH OPTIONS
.IP "-h, --help"
show this help message and exit
.IP "-p, --project="
-set project name to if not using -c option. (default:'No Name')
+set project name to if not using \-c option. (default:'No Name')
.IP "-i, --ignore="
add (may be a directory) to the black list (not parsed)
.IP "-f, --filter-mode="
@@ -53,28 +53,28 @@
create a class diagram with all classes related to [current: none]
the class must be in the file . By default, this will include all
ancestors and associated classes of and include module names
-(i.e. '-ASmy' ).
+(i.e. '\-ASmy' ).
-.IP -a , --show-ancestors=
+.IP "-a , --show-ancestors="
show generations of ancestor classes not in
-.IP -A, --all-ancestors=[yn]
+.IP "-A, --all-ancestors=[yn]"
show all ancestors off all classes in [current: none]
-.IP -s , --show-associated=
+.IP "-s , --show-associated="
show associated classes. =1 will only take classes
directly related to the classes in the project, while =2
will also take all classes related to those fetched by=1.
-.IP -S, --all-associated=[yn]
+.IP "-S, --all-associated=[yn]"
show recursively all associated off all associated classes [current: none]
-.IP "-b, --builtin"
+.IP "-b, --builtin"
include builtin objects in representation of classes [current: False]
-.IP "-m [yn], --module-names=[yn]"
+.IP "-m [yn], --module-names=[yn]"
include module name in representation of classes. This will include full
module path in the class name. [current: none]
-.IP "-k, --only-classnames"
+.IP "-k, --only-classnames"
don't show attributes and methods in the class boxes;
-this disables -f values [current: False]
+this disables \-f values [current: False]
.IP "-o , --output="
create a *. output file if format available. Available formats
@@ -87,19 +87,19 @@
.IP "pyreverse -a1 -s1 -m"
--a1 -s1 will include one level of ancestor and associated classes in the
-diagram of the modules, while -m will show the full module
+\-a1 \-s1 will include one level of ancestor and associated classes in the
+diagram of the modules, while \-m will show the full module
path of each class. You can use the same way the
.B -a, -s, -A, -S
options.
Note that on class diagrams (using
.B -c
-) -a and -s will rather reduce than enlarge your diagram.
+) \-a and \-s will rather reduce than enlarge your diagram.
.IP "pyreverse mod/foo.py mod/fee.py -k"
This is interesting if the diagram for =mod is too complicated:
-you can show only the class names (no attributes or methods, option -k);
+you can show only the class names (no attributes or methods, option \-k);
or take only the modules you are interested in (here fee.py and foo.py).
.SH REQUIRES
(if it will be mangled I can send via email, contact me at morph-@-debian.org where to send).
Regards,
Sandro |