shithub: jbig2

Download patch

ref: c6d9d6dd41f859c4dd3fb53c4fccc0ca34ca6a87
parent: 771b3b4d02bb7f12c9e08cc602261857499ccefb
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Thu Aug 15 09:52:28 EDT 2002

checkpoint commit: do-nothing -t option for setting output file type.


git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@202 ded80894-8fb9-0310-811b-c03f3676ab4d

--- a/jbig2dec.c
+++ b/jbig2dec.c
@@ -8,7 +8,7 @@
     the Free Software Foundation; either version 2 of the License, or
     (at your option) any later version.
 
-    $Id: jbig2dec.c,v 1.39 2002/08/05 22:56:51 giles Exp $
+    $Id: jbig2dec.c,v 1.40 2002/08/15 13:52:28 giles Exp $
 */
 
 #ifdef HAVE_CONFIG_H
@@ -100,6 +100,7 @@
 		{"dump", 0, NULL, 'd'},
                 {"hash", 0, NULL, 'm'},
 		{"output", 1, NULL, 'o'},
+                {"format", 1, NULL, 't'},
 		{NULL, 0, NULL, 0}
 	};
 	int option_idx = 1;
@@ -107,7 +108,7 @@
 
 	while (1) {
 		option = getopt_long(argc, argv,
-			"Vh?qvdo:", long_options, &option_idx);
+			"Vh?qvdo:t:", long_options, &option_idx);
 		if (option == -1) break;
 
 		//fprintf(stderr, "option '%c' value '%s'\n", option, optarg);
@@ -143,6 +144,8 @@
 			case 'o':
 				params->output_file = strdup(optarg);
 				break;
+                        case 't':
+                                break;
 			default:
 				if (!params->verbose) fprintf(stdout,
 					"unrecognized option: -%c\n", option);