From be6e3ebcc70db2ad6cf6d8d556015ea4e97f7e1a Mon Sep 17 00:00:00 2001 From: lohhiiccc Date: Mon, 20 Jul 2026 16:11:44 +0200 Subject: [PATCH] feat: add weak attribute to cli_print_options --- include/cli.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cli.h b/include/cli.h index a01c8fc..262bf79 100644 --- a/include/cli.h +++ b/include/cli.h @@ -40,7 +40,7 @@ enum { CLI_OPT_ARG_TYPES }; void cli_set_prog_name(const char *name); void cli_print_options(const struct option_descriptor *opts, size_t nb_opts, - t_arg_type_to_str to_str); + t_arg_type_to_str to_str) __attribute__((weak)); const char *cli_arg_type_to_str(int type);