cline.c

changeset 24
3963e8800a12
parent 23
778388400f7b
child 26
853a1181884b
equal deleted inserted replaced
23:778388400f7b 24:3963e8800a12
118 } 118 }
119 t++; 119 t++;
120 if (t >= argc) { 120 if (t >= argc) {
121 return exit_with_help(settings, 1); 121 return exit_with_help(settings, 1);
122 } 122 }
123 if (stricmp(argv[t], "ignore") == 0) { 123 if (strcasecmp(argv[t], "ignore") == 0) {
124 settings->bfileHeuristics->level = BFILE_IGNORE; 124 settings->bfileHeuristics->level = BFILE_IGNORE;
125 } else if (stricmp(argv[t], "low") == 0) { 125 } else if (strcasecmp(argv[t], "low") == 0) {
126 settings->bfileHeuristics->level = BFILE_LOW_ACCURACY; 126 settings->bfileHeuristics->level = BFILE_LOW_ACCURACY;
127 } else if (stricmp(argv[t], "medium") == 0) { 127 } else if (strcasecmp(argv[t], "medium") == 0) {
128 settings->bfileHeuristics->level = BFILE_MEDIUM_ACCURACY; 128 settings->bfileHeuristics->level = BFILE_MEDIUM_ACCURACY;
129 } else if (stricmp(argv[t], "high") == 0) { 129 } else if (strcasecmp(argv[t], "high") == 0) {
130 settings->bfileHeuristics->level = BFILE_HIGH_ACCURACY; 130 settings->bfileHeuristics->level = BFILE_HIGH_ACCURACY;
131 } else { 131 } else {
132 return exit_with_help(settings, 1); 132 return exit_with_help(settings, 1);
133 } 133 }
134 } 134 }

mercurial