We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
return yargs .options({ longitude: { type: 'number' }, latitude: { type: 'number' } }) .implies('longitude', 'latitude') .implies('latitude', 'longitude') .argv;
A command like node command.js --longitude=0 proceeds when it should have produced an implication failure message.
node command.js --longitude=0
The text was updated successfully, but these errors were encountered:
Possibly related - a command like node command.js --longitude=0 --latitude=10 fails:
node command.js --longitude=0 --latitude=10
Missing dependent arguments: latitude -> longitude
Sorry, something went wrong.
thanks for the bug report. If you're so inclined, would happily take a PR for a failing test, or a fix 😄
Thanks for the report. This should be fixed by #1985.
Feel free to open a new issue if it comes up again, with new information and renewed interest.
Thank you for your contributions.
No branches or pull requests
A command like
node command.js --longitude=0
proceeds when it should have produced an implication failure message.The text was updated successfully, but these errors were encountered: