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

Enforce strict argument parsing #493

Merged
merged 1 commit into from
May 5, 2021
Merged

Enforce strict argument parsing #493

merged 1 commit into from
May 5, 2021

Conversation

0x2b3bfa0
Copy link
Member

Previously, yargs was silently ignoring unknown arguments and producing esoteric bugs on edge cases: --option ---ARGUMENT--- doesn't produce the same result as --option=---ARGUMENT--- but would be silently parsed without the strict mode.

Previously, yargs was silently ignoring unknown arguments
and producing esoteric bugs on edge cases like --option ---ARGUMENT---
@0x2b3bfa0 0x2b3bfa0 self-assigned this Apr 30, 2021
Copy link
Contributor

@casperdcl casperdcl left a comment

Choose a reason for hiding this comment

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

Especialy relevant for --cloud-ssh-private="---BEGIN RSA PRIVATE KEY..."

@casperdcl casperdcl added the bug Something isn't working label May 1, 2021
@casperdcl casperdcl changed the base branch from master to devel May 5, 2021 13:13
@casperdcl casperdcl merged commit 42b3651 into devel May 5, 2021
@casperdcl casperdcl deleted the strict-arguments branch May 5, 2021 13:13
@casperdcl casperdcl mentioned this pull request May 5, 2021
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants