Skip to content

Commit 774eddb

Browse files
Anthonyacesnik
Anthony
and
acesnik
authored
don't consider help requested an error (#2048)
Co-authored-by: acesnik <acesnik@chem.wisc.edu>
1 parent 0fe9e70 commit 774eddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMD/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static int DisplayHelp<T>(ParserResult<T> result, IEnumerable<Error> errs
6363

6464
Console.WriteLine(helpText);
6565

66-
if (errs.Any())
66+
if (errs.Any(x => x.Tag != ErrorType.HelpRequestedError))
6767
{
6868
errorCode = 1;
6969
}

0 commit comments

Comments
 (0)