From 7e75ff3c1dd3d7a24be8cc1abfa281c29981a9c4 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sat, 1 Dec 2007 17:57:19 +0000 Subject: [PATCH] * Fix the "img2txt: option requires an argument -- h" bug. --- src/img2txt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/img2txt.c b/src/img2txt.c index 30a0a33..5810c34 100644 --- a/src/img2txt.c +++ b/src/img2txt.c @@ -126,7 +126,7 @@ int main(int argc, char **argv) { "help", 0, NULL, 'h' }, { "version", 0, NULL, 'v' }, }; - int c = mygetopt(argc, argv, "W:H:f:d:g:b:c:h:v:x:y:", long_options, &option_index); + int c = mygetopt(argc, argv, "W:H:f:d:g:b:c:hvx:y:", long_options, &option_index); if(c == -1) break;