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

Diff of /trunk/main.c

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

revision 311 by siliconforks, Mon Oct 13 17:51:29 2008 UTC revision 339 by siliconforks, Fri Oct 24 16:13:57 2008 UTC
# Line 95  Line 95 
95      else if (strncmp(argv[i], "--encoding=", 11) == 0) {      else if (strncmp(argv[i], "--encoding=", 11) == 0) {
96        jscoverage_encoding = argv[i] + 11;        jscoverage_encoding = argv[i] + 11;
97      }      }
98        else if (strcmp(argv[i], "--js-version") == 0) {
99          i++;
100          if (i == argc) {
101            fatal_command_line("--js-version: option requires an argument");
102          }
103          jscoverage_set_js_version(argv[i]);
104        }
105        else if (strncmp(argv[i], "--js-version=", 13) == 0) {
106          jscoverage_set_js_version(argv[i] + 13);
107        }
108      else if (strncmp(argv[i], "-", 1) == 0) {      else if (strncmp(argv[i], "-", 1) == 0) {
109        fatal_command_line("unrecognized option `%s'", argv[i]);        fatal_command_line("unrecognized option `%s'", argv[i]);
110      }      }

Legend:
Removed from v.311  
changed lines
  Added in v.339

  ViewVC Help
Powered by ViewVC 1.1.24