From 4add0312bcb4b5d50dfdefffbb997430fac315bc Mon Sep 17 00:00:00 2001 From: adjoly Date: Mon, 11 Aug 2025 22:11:47 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=8F=97=EF=B8=8F=E3=80=8D=20wip:?= =?UTF-8?q?=20added=20all=20the=20flag=20for=20bonus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/help.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/includes/help.h b/includes/help.h index 020257e..2be4d52 100644 --- a/includes/help.h +++ b/includes/help.h @@ -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"