Skip to content

Commit 13d3522

Browse files
committed
Issue #225 Fixed
1 parent 87ac022 commit 13d3522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommandLine/Core/InstanceChooser.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static ParserResult<object> Choose(
3333
return preprocCompare("help")
3434
? MakeNotParsed(types,
3535
MakeHelpVerbRequestedError(verbs,
36-
arguments.Skip(1).SingleOrDefault() ?? string.Empty, nameComparer))
36+
arguments.Skip(1).FirstOrDefault() ?? string.Empty, nameComparer))
3737
: preprocCompare("version")
3838
? MakeNotParsed(types, new VersionRequestedError())
3939
: MatchVerb(tokenizer, verbs, arguments, nameComparer, parsingCulture, nonFatalErrors);

0 commit comments

Comments
 (0)