Skip to content

Conversation

@glessard
Copy link
Contributor

@glessard glessard commented Mar 2, 2020

ParsableCommand.parseAsRoot() drops the first item from CommandLine.arguments when it receives a nil array as a parameter, so it is necessary to do the same before pre-processing arguments to feed to any ParsableCommand.

`ParsableCommand.parseAsRoot()` drops the first item from `CommandLine.arguments` when it receives a `nil` array as a parameter, so it is necessary to do the same before pre-processing arguments to feed to any `ParsableCommand`.
@natecook1000
Copy link
Member

Thanks, @glessard! 👏

@natecook1000 natecook1000 merged commit 8a23e0b into apple:master Mar 2, 2020
@glessard glessard deleted the patch-2 branch March 2, 2020 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants