summaryrefslogtreecommitdiff
path: root/src/dyetool
diff options
context:
space:
mode:
Diffstat (limited to 'src/dyetool')
-rw-r--r--src/dyetool/dyemain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dyetool/dyemain.cpp b/src/dyetool/dyemain.cpp
index 84334ec21..1b8666aee 100644
--- a/src/dyetool/dyemain.cpp
+++ b/src/dyetool/dyemain.cpp
@@ -51,7 +51,7 @@ static void printHelp()
int main(int argc, char **argv)
{
- if (argc == 2)
+ if (argc == 2 && strcmp(argv[1], "--help"))
{
return mainGui(argc, argv);
}