-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement "limit-last" mode for multipleOptions
We're flipping the order of the arguments array before and after running through it in order to retroactively inject stuff into result.argv. This is a SERIOUSLY suboptimal approach, but because I don't predict that the "limit-last" option will be used that often, a sloppy approach is better than blowing days of effort over a "clean" approach.
- Loading branch information
Showing
2 changed files
with
44 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters