diff options
| author | 2017-01-14 22:39:04 +0100 | |
|---|---|---|
| committer | 2017-01-14 22:39:04 +0100 | |
| commit | 7a5bc0677e5e7f6d72fb4432672bc309f7ff61da (patch) | |
| tree | 4b6d356b4a82d7ca704f4850db4a226891b52509 /cli/main.cpp | |
| parent | 9189e58f97f9f5d04e1a8063eb54c927278b9876 (diff) | |
| download | OneRoll-7a5bc0677e5e7f6d72fb4432672bc309f7ff61da.tar.gz OneRoll-7a5bc0677e5e7f6d72fb4432672bc309f7ff61da.zip | |
-fix help command.
Diffstat (limited to 'cli/main.cpp')
| -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(); } |