aboutsummaryrefslogtreecommitdiff
path: root/src/help.c
diff options
context:
space:
mode:
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");