Commit 69648564 authored by aligungr's avatar aligungr

Options parser minor bug fix

parent 44eed53d
......@@ -40,7 +40,7 @@ opt::OptionsResult::OptionsResult(int argc, char **argv, const opt::OptionsDescr
argc--;
argv++;
if (argc == 0)
if (argc <= 0)
help();
for (int i = 0; i < argc; i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment