diff options
Diffstat (limited to 'src/dyetool')
-rw-r--r-- | src/dyetool/dyemain.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dyetool/dyemain.cpp b/src/dyetool/dyemain.cpp index fe7ad0588..7952f841c 100644 --- a/src/dyetool/dyemain.cpp +++ b/src/dyetool/dyemain.cpp @@ -54,7 +54,10 @@ static void printHelp() int main(int argc, char **argv) { if (argc < 3 || argc > 4) + { printHelp(); + return 1; + } logger = new Logger; logger->setLogToStandardOut(false); |