From d367ea741fd016d036a78ca62a0798f4c4e0d2a5 Mon Sep 17 00:00:00 2001 From: HookedBehemoth Date: Mon, 2 Sep 2019 19:53:45 +0200 Subject: [PATCH] show help only once when requested --- src/nxlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nxlink.c b/src/nxlink.c index 7d117ba..bbe0fb0 100644 --- a/src/nxlink.c +++ b/src/nxlink.c @@ -543,7 +543,7 @@ int main(int argc, char **argv) { break; case 'h': showHelp(); - break; + return 1; case NRO_ARGS: extra_args=optarg; break;