- if (argc-optind != 2) {
- USAGE:
- fprintf(stderr, "Usage: %s [options] <host> <port>\n"
-" -c <n> Make <n> connection to the server [default: 3]\n"
-" -s <n> Perform <n> searches on each connection [3]\n"
-" -p <n> Make <n> present requests after each search [3]\n"
-" -f Fetch full records [default: brief]\n"
-" -b Fetch brief records\n"
-" -d <n> Delay <n> ms after each operation\n"
-" -r Delays are random between 0 and the specified number of ms\n"
-" -v <n> Set verbosity level to <n> [0, silent on success]\n"
-, argv[0]);
- return 1;
- }
-
- host = argv[optind];
- port = atoi(argv[optind+1]);