diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-07-21 21:32:27 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-07-21 21:32:27 +0000 |
| commit | 184bd50e2ea12b4bf40f4ae1b0d685f0bfa1c995 (patch) | |
| tree | bfe4f0a8fb39def302bdc807308c30b60dd18a92 /src/help.c | |
| parent | c251d37c98efba534766e914f7392cc7a0470351 (diff) | |
started 2.0 refactor. Co-authored-by: ezntek <eason@ezntek.com>
Diffstat (limited to 'src/help.c')
| -rw-r--r-- | src/help.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -20,10 +20,11 @@ #include <stdio.h> +#include "common.h" #include "help.h" -#include "globs.h" +#include "state.h" -void help(void) { +void print_help(void) { typedef struct { const char *short_flag; const char *long_flag; @@ -50,7 +51,7 @@ void help(void) { {"-f", "--force", "", "build a package"}, }; - if (flags.verbose) { + if (!flags.quiet) { printf(BOLD_MAGENTA " , \n"); printf(BOLD_MAGENTA " / \\ \n"); printf(BOLD_MAGENTA "_.--' '--._ \n"); |
