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

support negative numbers with decimal places #208

Merged
merged 1 commit into from Oct 26, 2019
Merged

Conversation

henderea
Copy link
Contributor

This pull request fixes some issues with negative numbers containing decimal places. It also adds support for negative numbers that don't have a leading 0, such as -.1.

Fixes yargs/yargs#1204

@bcoe
Copy link
Member

bcoe commented Oct 22, 2019

@henderea 👋 thanks for the patch; I've had a fairly busy past few weeks, am hoping to have a bit of free time for open-source this weekend.

Copy link
Member

@bcoe bcoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 awesome, great catch.

@bcoe bcoe merged commit 850bbda into yargs:master Oct 26, 2019
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.

Yargs is treating negative numbers with decimal point as flags
2 participants