Commit e830c316 authored by Zardosht Kasheff's avatar Zardosht Kasheff

addresses #724

remove some tabs and replace with spaces in order to make consistent
with rest of file

git-svn-id: file:///svn/tokudb@3590 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6c9dd3af
...@@ -23,21 +23,21 @@ int verbose=0; ...@@ -23,21 +23,21 @@ int verbose=0;
void parse_args (int argc, const char *argv[]) { void parse_args (int argc, const char *argv[]) {
const char *argv0=argv[0]; const char *argv0=argv[0];
while (argc>1) { while (argc>1) {
int resultcode=0; int resultcode=0;
if (strcmp(argv[1], "-v")==0) { if (strcmp(argv[1], "-v")==0) {
verbose++; verbose++;
} else if (strcmp(argv[1], "-q")==0) { } else if (strcmp(argv[1], "-q")==0) {
verbose = 0; verbose = 0;
} else if (strcmp(argv[1], "-h")==0) { } else if (strcmp(argv[1], "-h")==0) {
do_usage: do_usage:
fprintf(stderr, "Usage:\n%s [-v|-h]\n", argv0); fprintf(stderr, "Usage:\n%s [-v|-h]\n", argv0);
exit(resultcode); exit(resultcode);
} else { } else {
resultcode=1; resultcode=1;
goto do_usage; goto do_usage;
} }
argc--; argc--;
argv++; argv++;
} }
} }
/* End ".h like" stuff. */ /* End ".h like" stuff. */
......
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