-/* options */
-static struct option long_options[]=
-{
- { "servers", required_argument, NULL,
- OPT_SERVERS },
- { "threads", required_argument, NULL,
- OPT_THREAD_NUMBER },
- { "concurrency", required_argument, NULL,
- OPT_CONCURRENCY },
- { "conn_sock", required_argument, NULL,
- OPT_SOCK_PER_CONN },
- { "execute_number", required_argument, NULL,
- OPT_EXECUTE_NUMBER },
- { "time", required_argument, NULL,
- OPT_TIME },
- { "cfg_cmd", required_argument, NULL,
- OPT_CONFIG_CMD },
- { "win_size", required_argument, NULL,
- OPT_WINDOW_SIZE },
- { "fixed_size", required_argument, NULL,
- OPT_FIXED_LTH },
- { "verify", required_argument, NULL,
- OPT_VERIFY },
- { "division", required_argument, NULL,
- OPT_GETS_DIVISION },
- { "stat_freq", required_argument, NULL,
- OPT_STAT_FREQ },
- { "exp_verify", required_argument, NULL,
- OPT_EXPIRE },
- { "overwrite", required_argument, NULL,
- OPT_OVERWRITE },
- { "reconnect", no_argument, NULL,
- OPT_RECONNECT },
- { "udp", no_argument, NULL,
- OPT_UDP },
- { "facebook", no_argument, NULL,
- OPT_FACEBOOK_TEST },
- { "binary", no_argument, NULL,
- OPT_BINARY_PROTOCOL },
- { "tps", required_argument, NULL,
- OPT_TPS },
- { "rep_write", required_argument, NULL,
- OPT_REP_WRITE_SRV },
- { "verbose", no_argument, NULL,
- OPT_VERBOSE },
- { "help", no_argument, NULL,
- OPT_HELP },
- { "version", no_argument, NULL,
- OPT_VERSION },
- { 0, 0, 0, 0 },