fix argv in examples

This commit is contained in:
Liu Dongmiao
2022-03-20 21:26:25 +08:00
parent 5519f6cfae
commit a1980c8419
2 changed files with 2 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ int main(int argc, char **argv) {
std::cout << std::endl << std::endl;
return -1;
}
char *rule = *(argv++);
char *rule = *(++argv);
std::string rules_arg(rule);
/**