[Aggregator] Fix usage message

This commit is contained in:
Matteo Cypriani 2013-08-01 12:38:16 -04:00
parent 725d804bc2
commit 0650059bca
1 changed files with 11 additions and 9 deletions

View File

@ -1537,8 +1537,9 @@ void print_usage()
"\n\t" "\n\t"
" [-c check_interval]" " [-c check_interval]"
" [-A]" " [-A]"
" [-a autocalibration_port]" " [-O autocalibration_order_port]"
"\n\t" "\n\t"
" [-H hello_port]"
" [-K cp_keep_timeout]" " [-K cp_keep_timeout]"
" [-C ac_order_interval]" " [-C ac_order_interval]"
"\n" "\n"
@ -1567,15 +1568,15 @@ void print_usage()
" output).\n" " output).\n"
"\t-F\t\t\tDo not flush the output file after each analyse" "\t-F\t\t\tDo not flush the output file after each analyse"
"\n\t\t\t\tof the requests' list.\n" "\n\t\t\t\tof the requests' list.\n"
"\t-i positionner_ip\tIP address of the localisation server" "\t-i positionner_ip\tIP address of the positioning server"
" (default:\n\t\t\t\t%s).\n" " (default:\n\t\t\t\t%s).\n"
"\t-p positioner_port\tAggregated requests are transmitted to" "\t-p positioner_port\tAggregated requests are transmitted to"
" the\n\t\t\t\tlocalisation server on this port (default:" " the\n\t\t\t\tpositioning server on this port (default:"
"\n\t\t\t\t%d).\n" "\n\t\t\t\t%d).\n"
"Aggregation options:\n" "Aggregation options:\n"
"\t-l listening_port\tOnly requests sent on this port will be" "\t-l listening_port\tListen for requests from the capture"
" treated\n\t\t\t\t(default: %d).\n" " points on\n\t\t\t\tthis port (default: %d).\n"
"\t-t aggregate_timeout\tRequests are stored during" "\t-t aggregate_timeout\tRequests are stored during"
" 'aggregate_timeout'\n\t\t\t\tmilliseconds before to be" " 'aggregate_timeout'\n\t\t\t\tmilliseconds before to be"
" grouped (default:\n\t\t\t\t%d ms).\n" " grouped (default:\n\t\t\t\t%d ms).\n"
@ -1586,10 +1587,11 @@ void print_usage()
"Autocalibration options:\n" "Autocalibration options:\n"
"\t-A\t\t\tEnable autocalibration (default: disabled).\n" "\t-A\t\t\tEnable autocalibration (default: disabled).\n"
"\t-O port\t\t\tPort on which autocalibration orders are" "\t-O ac_order_port\tPort on which autocalibration orders"
" sent to\n\t\t\t\tthe listeners (default: %d).\n" " are sent to\n\t\t\t\tthe listeners (default: %d).\n"
"\t-H port\t\t\tPort on which autocalibration hello are" "\t-H hello_port\t\tPort on which autocalibration hello"
" received\n\t\t\t\tfrom the listeners (default: %d).\n" " messages are\n\t\t\t\treceived from the listeners"
" (default: %d).\n"
"\t-K cp_keep_timeout\tInactive CPs are kept during" "\t-K cp_keep_timeout\tInactive CPs are kept during"
" 'cp_keep_timeout'\n\t\t\t\tseconds (default: %d s).\n" " 'cp_keep_timeout'\n\t\t\t\tseconds (default: %d s).\n"
"\t-C ac_order_interval\tTime (in milliseconds) between two" "\t-C ac_order_interval\tTime (in milliseconds) between two"