patch-src_hlfl_c 784 B

123456789101112131415161718192021222324252627282930
  1. --- src/hlfl.c.orig 2004-09-30 01:11:05.000000000 +0900
  2. +++ src/hlfl.c
  3. @@ -58,7 +58,7 @@ struct definition *definitions = NULL;
  4. #ifdef HAVE_GETOPT
  5. /* option string for getopt() or getopt_long() */
  6. -char *optstr = "hvV:c:t:o:";
  7. +char *optstr = "c:t:o:hvV";
  8. #ifdef HAVE_GETOPT_LONG
  9. /* array of long option structs for getopt_long() */
  10. struct option long_options[] = {
  11. @@ -66,7 +66,7 @@ struct option long_options[] = {
  12. {"output", 1, 0, 'o'},
  13. {"type", 1, 0, 't'},
  14. {"version", 0, 0, 'V'},
  15. - {"verbose", 1, 0, 'v'},
  16. + {"verbose", 0, 0, 'v'},
  17. {"check", 1, 0, 'c'},
  18. {0, 0, 0, 0}
  19. };
  20. @@ -1173,7 +1173,7 @@ char **argv;
  21. break;
  22. }
  23. case 'v':{
  24. - verbose_level = atoi(optarg);
  25. + verbose_level = 1;
  26. break;
  27. }
  28. case 'V':{