/[jscoverage]/trunk/main.c
ViewVC logotype

Diff of /trunk/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 174 by siliconforks, Sat Sep 20 23:27:14 2008 UTC revision 179 by siliconforks, Sun Sep 21 18:35:21 2008 UTC
# Line 30  Line 30 
30  #include "util.h"  #include "util.h"
31    
32  const char * jscoverage_encoding = "ISO-8859-1";  const char * jscoverage_encoding = "ISO-8859-1";
33    bool jscoverage_highlight = true;
34    
35  int main(int argc, char ** argv) {  int main(int argc, char ** argv) {
36    int verbose = 0;    int verbose = 0;
# Line 58  Line 59 
59      else if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--verbose") == 0) {      else if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--verbose") == 0) {
60        verbose = 1;        verbose = 1;
61      }      }
62        else if (strcmp(argv[i], "--no-highlight") == 0) {
63          jscoverage_highlight = false;
64        }
65      else if (strcmp(argv[i], "--no-instrument") == 0) {      else if (strcmp(argv[i], "--no-instrument") == 0) {
66        i++;        i++;
67        if (i == argc) {        if (i == argc) {

Legend:
Removed from v.174  
changed lines
  Added in v.179

  ViewVC Help
Powered by ViewVC 1.1.24