diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-07-17 00:18:01 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-07-17 00:18:01 +0000 |
| commit | 7019724ab5c818e18fb5ee61b6b14487c47da3ec (patch) | |
| tree | 0a7d60563c56a75fcfe7ecdd66f21bdc420fc1fa /src/help.c | |
| parent | 43e35385f741a3c48cf667fd55bc1175d1d2b927 (diff) | |
more features but memory leak
Diffstat (limited to 'src/help.c')
| -rw-r--r-- | src/help.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -21,7 +21,6 @@ #include <stdio.h> #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); |
