diff options
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/main.cpp b/cli/main.cpp index 7a5ed97..1b9fdad 100644 --- a/cli/main.cpp +++ b/cli/main.cpp @@ -268,7 +268,7 @@ int main(int argc, char *argv[]) if(!cmd.isEmpty()) { startDiceParsing(cmd,dotFileStr,colorb); - if(cmd=="help") + if(optionParser.isSet(help)) { usage(); } |