aboutsummaryrefslogtreecommitdiff
path: root/src/help.c
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-07-21 21:32:27 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-07-21 21:32:27 +0000
commit184bd50e2ea12b4bf40f4ae1b0d685f0bfa1c995 (patch)
treebfe4f0a8fb39def302bdc807308c30b60dd18a92 /src/help.c
parentc251d37c98efba534766e914f7392cc7a0470351 (diff)
started 2.0 refactor. Co-authored-by: ezntek <eason@ezntek.com>
Diffstat (limited to 'src/help.c')
-rw-r--r--src/help.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/help.c b/src/help.c
index a568e7c..e35cbcc 100644
--- a/src/help.c
+++ b/src/help.c
@@ -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");