From c909961d928f3b2766d04b87cb87b1476ad4cf89 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 19 Aug 2021 21:08:56 -0300 Subject: src/gistatic.c: Include usage message on -h flag --- src/gistatic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gistatic.c') 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; -- cgit v1.2.3