Skip to content

Commit

Permalink
- Hopefully fix #117
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaBear84 committed Jun 27, 2022
1 parent 6e3538d commit a338b57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OpenDirectoryDownloader/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ static async Task<int> Main(string[] args)
{
List<Error> errors = o.ToList();

stopProcessing = errors.Any(e => e.StopsProcessing);
stopProcessing = errors.Any(e => e.StopsProcessing || e.Tag == ErrorType.UnknownOptionError);

if (errors.Any(e => e.Tag == ErrorType.HelpRequestedError || e.Tag == ErrorType.VersionRequestedError))
if (errors.Any(e => e.Tag == ErrorType.HelpRequestedError || e.Tag == ErrorType.VersionRequestedError || e.Tag == ErrorType.UnknownOptionError))
{
return;
}
Expand Down

0 comments on commit a338b57

Please sign in to comment.