Commit 2761e134 authored by Josh Coalson's avatar Josh Coalson
Browse files

return nonzero exit code if invalid option was used

parent a9502bf4
......@@ -39,6 +39,8 @@ int main(int argc, char *argv[])
if(parse_options(argc, argv, &options))
ret = !do_operations(&options);
else
ret = 1;
free_options(&options);
......
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