Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support single dash as option value for long option #472

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shadowspawn
Copy link
Member

@shadowspawn shadowspawn commented Mar 4, 2023

There is a popular issue against args asking about using single dash for stdin. In fact this is already implemented and tested in yargs-parser for short options and positionals, and just needed a small tweak to work with long options.

yargs/yargs#1312

@shadowspawn shadowspawn force-pushed the feature/dash-with-long-option branch from 3d763e0 to 877c819 Compare April 15, 2023 02:17
@shadowspawn shadowspawn marked this pull request as ready for review April 15, 2023 02:20
@shadowspawn
Copy link
Member Author

(Rebased on top of main. CI broken by dependency changes unrelated to this PR: #470 and #478.)

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.

None yet

1 participant