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]); } };