[Client] Fix usage printing
Print default values for delay and number of packets.
This commit is contained in:
parent
f8f6e51dd6
commit
ec566286b4
|
@ -422,8 +422,11 @@ void print_usage()
|
||||||
"\t-d dest_ip\tDestination IP address of the localisation request.\n"
|
"\t-d dest_ip\tDestination IP address of the localisation request.\n"
|
||||||
"\t-p dest_port\tDestination port of the localisation request"
|
"\t-p dest_port\tDestination port of the localisation request"
|
||||||
" (default: %d).\n"
|
" (default: %d).\n"
|
||||||
"\t-t delay\tTime between each packet transmission.\n"
|
"\t-t delay\tTime between each packet transmission (default: %d"
|
||||||
"\t-n nb_packets\tNumber of packet transmitted for the request.\n"
|
" µs for a normal request, %d µs for a calibration request).\n"
|
||||||
|
"\t-n nb_packets\tNumber of packet transmitted for the request"
|
||||||
|
" (default: %d for a normal request, %d for a calibration"
|
||||||
|
" request).\n"
|
||||||
"\t-i iface\tName of the network interface used to transmit the"
|
"\t-i iface\tName of the network interface used to transmit the"
|
||||||
" request (e.g. \"eth2\"). If this option is absent, interface"
|
" request (e.g. \"eth2\"). If this option is absent, interface"
|
||||||
" is selected automatically. You must be root to use this"
|
" is selected automatically. You must be root to use this"
|
||||||
|
@ -435,6 +438,10 @@ void print_usage()
|
||||||
program_name,
|
program_name,
|
||||||
program_name,
|
program_name,
|
||||||
LOC_REQUEST_DEFAULT_PORT,
|
LOC_REQUEST_DEFAULT_PORT,
|
||||||
|
DEFAULT_DELAY_NORMAL,
|
||||||
|
DEFAULT_DELAY_CALIB,
|
||||||
|
DEFAULT_NBPKT_NORMAL,
|
||||||
|
DEFAULT_NBPKT_CALIB,
|
||||||
MOBILE_DEFAULT_PORT
|
MOBILE_DEFAULT_PORT
|
||||||
) ;
|
) ;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue