Commit ef06c33f authored by Yoni Fogel's avatar Yoni Fogel

[t:2216] loader src tests support -q and -v (ignore, but don't fail with them)

git-svn-id: file:///svn/toku/tokudb@17590 c7de825b-a66e-492c-adef-691d508d4ae1
parent f408fad1
......@@ -157,6 +157,11 @@ static void do_args(int argc, char *argv[]) {
do_usage:
fprintf(stderr, "Usage:\n%s\n", cmd);
exit(resultcode);
} else if (strcmp(argv[0], "-v")==0) {
verbose++;
} else if (strcmp(argv[0],"-q")==0) {
verbose--;
if (verbose<0) verbose=0;
} else {
fprintf(stderr, "Unknown arg: %s\n", argv[0]);
resultcode=1;
......
......@@ -279,6 +279,11 @@ static void do_args(int argc, char *argv[]) {
resultcode=1;
goto do_usage;
}
} else if (strcmp(argv[0], "-v")==0) {
verbose++;
} else if (strcmp(argv[0],"-q")==0) {
verbose--;
if (verbose<0) verbose=0;
} else if (strcmp(argv[0], "-r")==0) {
argc--; argv++;
NUM_ROWS = atoi(argv[0]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment