From bb4595e3d032b903d2196dece38c3c8ece1595a4 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Mon, 27 Feb 2012 03:31:34 +0100 Subject: [PATCH] No help output if no host is specified --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index a634e88..9e5bff4 100644 --- a/main.cpp +++ b/main.cpp @@ -83,7 +83,7 @@ public: } } } - if (host == NULL || ns == NULL) showHelp = true; + if (host != NULL && ns == NULL) showHelp = true; if (showHelp) fprintf(stderr, help, argv[0]); } };