shithub: jbig2

Download patch

ref: eb629c8ff915730ff737ca6e4d564cc88ddafb22
parent: b1ddf3c7a00c9f216f9a0bbd1285376c1e121dec
author: masaki <masaki@a1074d23-0009-0410-80fe-cf8c14f379e6>
date: Tue Apr 13 22:31:58 EDT 2010

Fixed jbig2dec command getopt() parameter for -v option.

Not used by ghostscript itself but worth for standalone debugging.

git-svn-id: http://svn.ghostscript.com/ghostscript/trunk/gs/jbig2dec/@11067 a1074d23-0009-0410-80fe-cf8c14f379e6
(cherry picked from commit c72d87c7d7b32f0d33d5e5b9e72aca701dd80e01)

Signed-off-by: Masaki Ushizaka <masaki@ghostscript.com>

--- a/jbig2dec.c
+++ b/jbig2dec.c
@@ -141,7 +141,7 @@
 
 	while (1) {
 		option = getopt_long(argc, argv,
-			"Vh?qvdo:t:", long_options, &option_idx);
+			"Vh?qv:do:t:", long_options, &option_idx);
 		if (option == -1) break;
 
 		switch (option) {