diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-24 23:18:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-24 23:18:31 +0300 |
commit | aa5193d09e385ab4ae3860f311b0af0cacca0efc (patch) | |
tree | e77bb2322d88fb43d402ee6fd4c0e1c365e63c50 /src/dyetool | |
parent | 732c2012ec337bfebb1a12c1822e98e5c61e79bc (diff) | |
download | plus-aa5193d09e385ab4ae3860f311b0af0cacca0efc.tar.gz plus-aa5193d09e385ab4ae3860f311b0af0cacca0efc.tar.bz2 plus-aa5193d09e385ab4ae3860f311b0af0cacca0efc.tar.xz plus-aa5193d09e385ab4ae3860f311b0af0cacca0efc.zip |
Fix showing help for dyecmd from command line.
Example: ./src/dyecmd --help
Diffstat (limited to 'src/dyetool')
-rw-r--r-- | src/dyetool/dyemain.cpp | 2 |
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); } |