🏗️」 wip: added all the flag for bonus

This commit is contained in:
2025-08-11 22:11:47 +02:00
parent 173e8a122a
commit 4add0312bc

View File

@ -19,14 +19,16 @@ static options_t options[] = {
{"verbose", 'v', "verbose output", 0, GRP},
#undef GRP
#define GRP 2 // AKA bonus
{"count", 'c', "stop after sending NUMBER packets (--count=NUMBER)", 1,
{"count", 'c', "stop after sending NUMBER packets", 1,
GRP},
{"size", 's', "send NUMBER data octets (--size=NUMBER)", 1, GRP},
{"timeout", 'w', "stop after N seconds (--timeout=N)", 1, GRP}
{"size", 's', "send NUMBER data octets", 1, GRP},
{"timeout", 'w', "stop after N seconds", 1, GRP},
{"ttl", 't', "specify N as time-to-live", 1, GRP},
{"ip-timestamp", 'i', "IP timestamp of type FLAG, which is one of \"tsonly\" and \"tsaddr\"", 1, GRP}
#undef GRP
};
#define OPT_NB 7
#define OPT_NB 9
#define FT_PING_V "0.1"