From 7019724ab5c818e18fb5ee61b6b14487c47da3ec Mon Sep 17 00:00:00 2001 From: dacctal Date: Fri, 17 Jul 2026 00:18:01 +0000 Subject: more features but memory leak --- src/help.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/help.c') diff --git a/src/help.c b/src/help.c index bacdcd9..a568e7c 100644 --- a/src/help.c +++ b/src/help.c @@ -21,7 +21,6 @@ #include #include "help.h" - #include "globs.h" void help(void) { @@ -70,7 +69,7 @@ void help(void) { printf(RED "subcommand flags" COLOR_RESET ":\n"); for (size_t i = 0; i < LENGTH(cmd_flags); i++) { - printf(COLOR_RESET "\t" GREEN "%-2s" COLOR_RESET ", " YELLOW + printf(COLOR_RESET " " GREEN "%-2s" COLOR_RESET ", " YELLOW "%-12s" BLUE "%-16s" GRAY "# %s\n" COLOR_RESET, cmd_flags[i].short_flag, cmd_flags[i].long_flag, cmd_flags[i].arg, cmd_flags[i].desc); @@ -78,7 +77,7 @@ void help(void) { printf("\n" RED "modifier flags" COLOR_RESET ":\n"); for (size_t i = 0; i < LENGTH(mod_flags); i++) { - printf(COLOR_RESET "\t" GREEN "%-2s" COLOR_RESET ", " YELLOW + printf(COLOR_RESET " " GREEN "%-2s" COLOR_RESET ", " YELLOW "%-12s" BLUE "%-16s" GRAY "# %s\n" COLOR_RESET, mod_flags[i].short_flag, mod_flags[i].long_flag, mod_flags[i].arg, mod_flags[i].desc); -- cgit v1.2.3