aboutsummaryrefslogtreecommitdiff
path: root/src/gistatic.c
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-19 21:08:56 -0300
committerEuAndreh <eu@euandre.org>2021-08-19 21:08:56 -0300
commitc909961d928f3b2766d04b87cb87b1476ad4cf89 (patch)
tree4e8f0be78157491c43f8066711a04c3d5818dcfa /src/gistatic.c
parentaux/workflow/: Remove unused favicon.png, make favicon.svg a symlink (diff)
downloadgistatic-c909961d928f3b2766d04b87cb87b1476ad4cf89.tar.gz
gistatic-c909961d928f3b2766d04b87cb87b1476ad4cf89.tar.xz
src/gistatic.c: Include usage message on -h flag
Diffstat (limited to 'src/gistatic.c')
-rw-r--r--src/gistatic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gistatic.c b/src/gistatic.c
index 1b36910..12a8917 100644
--- a/src/gistatic.c
+++ b/src/gistatic.c
@@ -2004,7 +2004,7 @@ int gistatic_main(int argc, char *argv[]) {
clone_url = optarg;
break;
case 'h':
- if (print_help(stdout)) {
+ if (print_usage(stdout) || print_help(stdout)) {
ret = EXIT_ERROR;
}
goto cleanup;