From 64e027a39118a6abc045fe755afa208b5924d835 Mon Sep 17 00:00:00 2001 From: tomoron Date: Wed, 20 Aug 2025 16:43:54 +0200 Subject: [PATCH] fix verbose mode --- srcs/parsing.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcs/parsing.c b/srcs/parsing.c index 43c667d..9aa2034 100644 --- a/srcs/parsing.c +++ b/srcs/parsing.c @@ -6,7 +6,7 @@ /* By: tomoron +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/04/26 17:01:53 by tomoron #+# #+# */ -/* Updated: 2025/08/20 15:58:13 by tomoron ### ########.fr */ +/* Updated: 2025/08/20 16:42:02 by tomoron ### ########.fr */ /* */ /* ************************************************************************** */ #include "includes/ft_ping.h" @@ -133,6 +133,9 @@ int parse_args(int argc, char **argv, t_settings *set) set->ttl = get_set_int(optarg, set); set->setTtl = 1; break; + case 'v': + set->verbose = 1; + break; case 'h': case '?': show_help(set);