netpbm/netpbm-10.35-docfix.patch
Jindrich Novy f24a10c7bb - update to 10.35.62
- upstream fixes pamstereogram
- fix options in pamperspective, pbmtoepson, ppmpat, pamaddnoise so that
    they match their man pages (#483011, #483070, #483243, #483245)
2009-04-14 10:05:35 +00:00

58 lines
2.7 KiB
Diff

diff -up netpbm-10.35.62/converter/pbm/pbmtoepson.c.docfix netpbm-10.35.62/converter/pbm/pbmtoepson.c
--- netpbm-10.35.62/converter/pbm/pbmtoepson.c.docfix 2009-04-13 09:14:07.000000000 +0200
+++ netpbm-10.35.62/converter/pbm/pbmtoepson.c 2009-04-14 09:26:48.000000000 +0200
@@ -74,7 +74,7 @@ parseCommandLine(int arg
&dpiSpec, 0);
OPTENT3(0, "adjacent", OPT_FLAG, NULL,
&adjacentSpec, 0);
- OPTENT3(0, "nonadjacent", OPT_FLAG, NULL,
+ OPTENT3(0, "noadjacent", OPT_FLAG, NULL,
&nonadjacentSpec, 0);
opt.opt_table = option_def;
diff -up netpbm-10.35.62/generator/ppmpat.c.docfix netpbm-10.35.62/generator/ppmpat.c
--- netpbm-10.35.62/generator/ppmpat.c.docfix 2009-04-13 09:13:56.000000000 +0200
+++ netpbm-10.35.62/generator/ppmpat.c 2009-04-14 09:29:35.000000000 +0200
@@ -919,7 +919,7 @@ main(int argc, char ** argv) {
#define PAT_CAMO 7
#define PAT_ANTICAMO 8
#define PAT_TEST 9
- const char* const usage = "-gingham|-g2|-gingham3|-g3|-madras|-tartan|-poles|-squig|-camo|-anticamo <width> <height>";
+ const char* const usage = "-gingham2|-g2|-gingham3|-g3|-madras|-tartan|-poles|-squig|-camo|-anticamo <width> <height>";
ppm_init(&argc, argv);
diff -up netpbm-10.35.62/userguide/pamaddnoise.html.docfix netpbm-10.35.62/userguide/pamaddnoise.html
--- netpbm-10.35.62/userguide/pamaddnoise.html.docfix 2009-04-13 09:14:26.000000000 +0200
+++ netpbm-10.35.62/userguide/pamaddnoise.html 2009-04-14 09:32:47.000000000 +0200
@@ -38,7 +38,7 @@ pamaddnoise - add noise to a Netpbm imag
<B>pamaddnoise</B> <B>-type </B> <B>multiplicative_gaussian</B>
-[<B>-msigma</B> <I>value</I>]
+[<B>-mgsigma</B> <I>value</I>]
<BR>
@@ -102,7 +102,7 @@ a plane of colors in a color space.
<DD>Used for laplacian noise only. The default value is 10.0.
-<DT><B>-msigma</b> <i>value</i>
+<DT><B>-mgsigma</b> <i>value</i>
<DD>Used for mutliplicative gaussian noise only. The default value is
0.5.
diff -up netpbm-10.35.62/userguide/pamperspective.html.docfix netpbm-10.35.62/userguide/pamperspective.html
--- netpbm-10.35.62/userguide/pamperspective.html.docfix 2009-04-13 09:14:26.000000000 +0200
+++ netpbm-10.35.62/userguide/pamperspective.html 2009-04-14 09:10:32.000000000 +0200
@@ -226,7 +226,7 @@ visible part is the smallest possible re
parts specified those three ways.
<p>The visible part must have nonzero size. That means if you specify
-<b>--frame-include=no</b> (overriding the default), you'll need to
+<b>--frame_include=no</b> (overriding the default), you'll need to
specify other frame options in order to have something in the visible
part.