Rename contest to contest_mode

This commit is contained in:
Yorick Barbanneau 2021-09-17 16:01:33 +02:00
parent 9e06e265cc
commit 8124b83e36

View file

@ -42,7 +42,7 @@ int main(int argc, char* argv[]) {
int optc; int optc;
int cross_ai, round_ai = 0; int cross_ai, round_ai = 0;
int inception_level = 0; int inception_level = 0;
bool contest = false; bool contest_mode = false;
char * contest_file; char * contest_file;
static struct option long_opts[] = static struct option long_opts[] =
{ {
@ -115,7 +115,7 @@ int main(int argc, char* argv[]) {
fprintf(stderr, "Error: contest need a file\n"); fprintf(stderr, "Error: contest need a file\n");
exit (EXIT_FAILURE); exit (EXIT_FAILURE);
} }
contest = true; contest_mode = true;
printf ("contest activated\n"); printf ("contest activated\n");
break; break;
case 'V': case 'V':