Skip to content

Commit

Permalink
Rename --upper-expr-complexity to --max-expr-complexity to be consist…
Browse files Browse the repository at this point in the history
…ent with similar options (and also with the corresponding internal variable).
  • Loading branch information
regehr committed Aug 22, 2011
1 parent 51bb753 commit ad20f66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RandomProgramGenerator.cpp
Expand Up @@ -168,7 +168,7 @@ static void print_help()
cout << " --max-array-len-per-dim <num>: limit array length per dimension to <num> (default 10)." << endl << endl;
cout << " --max-block-depth <num>: limit depth of nested blocks to <num> (default 5)." << endl << endl;
cout << " --max-block-size <size>: limit the number of non-return statements in a block to <size> (default 4)." << endl << endl;
cout << " --upper-expr-complexity <num>: limit expression complexities to <num> (default 10)." << endl << endl;
cout << " --max-expr-complexity <num>: limit expression complexities to <num> (default 10)." << endl << endl;
cout << " --max-funcs <num>: limit the number of functions (besides main) to <num> (default 10)." << endl << endl;
cout << " --max-pointer-depth <depth>: limit the indirect depth of pointers to <depth> (default 2)." << endl << endl;
cout << " --max-struct-fields <num>: limit the number of struct fields to <num> (default 10). " << endl << endl;
Expand Down Expand Up @@ -1080,7 +1080,7 @@ main(int argc, char **argv)
continue;
}

if (strcmp (argv[i], "--upper-expr-complexity") ==0 ) {
if (strcmp (argv[i], "--max-expr-complexity") ==0 ) {
unsigned long comp;
i++;
arg_check(argc, i);
Expand Down

0 comments on commit ad20f66

Please sign in to comment.