Merge pull request #596 from BBasile/issue-195

fix #195 - Unrecognized CLI options gives huge stacktrace
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
The Dlang Bot 2018-04-04 21:03:34 +02:00 committed by GitHub
commit eafae0f6c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -104,6 +104,11 @@ else
stderr.writeln(e.msg); stderr.writeln(e.msg);
return 1; return 1;
} }
catch (GetOptException e)
{
stderr.writeln(e.msg);
return 1;
}
if (muffin) if (muffin)
{ {