From fd8d1a771769905787430fc27611c27e5186fba3 Mon Sep 17 00:00:00 2001 From: Robert Swiecki Date: Sun, 1 Oct 2023 18:27:17 +0200 Subject: [PATCH] cmdline: log '-h/--help' to stdout instead of stderr --- cmdline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmdline.c b/cmdline.c index d1620f320..482cf3de2 100644 --- a/cmdline.c +++ b/cmdline.c @@ -581,6 +581,7 @@ bool cmdlineParse(int argc, char* argv[], honggfuzz_t* hfuzz) { LOG_HELP(PROG_NAME " " PROG_VERSION); exit(0); case 'h': + logRedirectLogFD(STDOUT_FILENO); cmdlineUsage(argv[0], custom_opts); break; case '?':