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

Reject invalid command-line options #272

Merged
merged 1 commit into from
Nov 14, 2021

Conversation

andersk
Copy link
Contributor

@andersk andersk commented Nov 11, 2021

Currently, node2nix accepts and silently ignores invalid options, which is confusing.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@svanderburg
Copy link
Owner

Nice catch. How did you discover this solution? I carefully studied the optparse documentation numerous of times. Did you find it with a debugger?

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