Commit 02930e7b authored by Joanne Hugé's avatar Joanne Hugé

Replace timestamp option by letter t

parent d2142cdf
......@@ -147,7 +147,7 @@ int main(int argc, char *argv[]) {
static void process_options(int argc, char *argv[], thread_param_t *param,
main_param_t *main_param) {
for (;;) {
int c = getopt(argc, argv, "aehf:i:l:p:q:r:");
int c = getopt(argc, argv, "aef:i:l:p:q:r:t");
if (c == -1) break;
......@@ -158,9 +158,6 @@ static void process_options(int argc, char *argv[], thread_param_t *param,
case 'e':
param->enable_etf = 1;
break;
case 'h':
param->enable_timestamps = 1;
break;
case 'f':
strcpy(param->network_if, optarg);
break;
......@@ -179,6 +176,9 @@ static void process_options(int argc, char *argv[], thread_param_t *param,
case 'r':
main_param->refresh_rate = atoi(optarg);
break;
case 't':
param->enable_timestamps = 1;
break;
default:
exit(EXIT_FAILURE);
break;
......
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