Browse Source

* Fix the "img2txt: option requires an argument -- h" bug.

tags/v0.99.beta14
Sam Hocevar sam 17 years ago
parent
commit
7e75ff3c1d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/img2txt.c

+ 1
- 1
src/img2txt.c View File

@@ -126,7 +126,7 @@ int main(int argc, char **argv)
{ "help", 0, NULL, 'h' }, { "help", 0, NULL, 'h' },
{ "version", 0, NULL, 'v' }, { "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) if(c == -1)
break; break;




Loading…
Cancel
Save