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

Document the '--skip-' option for boolean options. #876

Merged

Conversation

andrewn617
Copy link
Contributor

When specifying a boolean option foo, Thor will accept --skip-foo as an options (the same as --no-foo). This behaviour was previously undocumented.

This PR updates the documentation in the repo and also the usage method to make this feature more discoverable.

When specifying a boolean option foo, Thor will accept '--skip-foo' as an options (the same as '--no-foo'). This behaviour was previously undocumented.
@andrewn617 andrewn617 force-pushed the improve-boolean-parse-documentation branch from 7af2dc2 to 686bcd5 Compare February 23, 2024 16:17
@rafaelfranca rafaelfranca merged commit 96a3974 into rails:main Feb 26, 2024
4 of 7 checks passed
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