No help output if no host is specified

This commit is contained in:
Pieter Wuille 2012-02-27 03:31:34 +01:00
parent 0835038185
commit bb4595e3d0
1 changed files with 1 additions and 1 deletions

View File

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