COMPREPLY=( $(compgen -W "SIZE" -- $cur) )
return 0
;;
- '-i'|'--interval'|'-G'|'--graceperiod'|'-Z'|'--timeout')
+ '-i'|'--interval'|'-G'|'--gracetime'|'-Z'|'--timeout')
COMPREPLY=( $(compgen -W "SECONDS" -- $cur) )
return 0
;;
OPTS='
--filename --inet --inet6 --udp --tcp --address --first-ttl
--max-ttl --max-unknown --port --localport --psize --bitpattern
- --interval --graceperiod --tos --mpls --timeout --mark --report
+ --interval --gracetime --tos --mpls --timeout --mark --report
--report-wide --report-cycles --json --xml --csv --raw --split
--curses --displaymode --gtk --no-dns --show-ips --order --ipinfo
--aslookup --help --version
.I NUM
is greater than 255, a random pattern is used.
.TP
-.B \-G \fISECONDS\fR, \fB\-\-graceperiod \fISECONDS
+.B \-G \fISECONDS\fR, \fB\-\-gracetime \fISECONDS
Use this option to specify the positive number of seconds to wait for responses
after the final request. The default value is five seconds.
.TP
fputs(" -s, --psize PACKETSIZE set the packet size used for probing\n", out);
fputs(" -B, --bitpattern NUMBER set bit pattern to use in payload\n", out);
fputs(" -i, --interval SECONDS icmp echo request interval\n", out);
- fputs(" -G, --graceperiod SECONDS number of seconds to wait for responses\n", out);
+ fputs(" -G, --gracetime SECONDS number of seconds to wait for responses\n", out);
fputs(" -Q, --tos NUMBER type of service field in IP header\n", out);
fputs(" -e, --mpls display information from ICMP extensions\n", out);
fputs(" -Z, --timeout SECONDS seconds to keep the TCP socket open\n", out);
{ "port", 1, NULL, 'P' }, /* target port number for TCP/SCTP/UDP */
{ "localport", 1, NULL, 'L' }, /* source port number for UDP */
{ "timeout", 1, NULL, 'Z' }, /* timeout for TCP sockets */
- { "gracetime", 1, NULL, 'G' }, /* graceperiod for replies after last probe */
+ { "gracetime", 1, NULL, 'G' }, /* gracetime for replies after last probe */
#ifdef SO_MARK
{ "mark", 1, NULL, 'M' }, /* use SO_MARK */
#endif