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

Fix bug with subcommand option parsing #42

Merged

Conversation

kshannoninnes
Copy link
Contributor

@kshannoninnes kshannoninnes commented May 28, 2024

Nosedrum was not correctly traversing the nested structure of sub-commands. As soon as it found a type key, it set the integer type then bailed out without recursing into any existing options list.

This closes #41

@kshannoninnes
Copy link
Contributor Author

On a semi-related note, there seem to be some build_payloads that I can't work out when they're called in a real world situation. It's possible they're related to this sub-command issue, but I fixed the issue by just recursing when parsing the option types.

@jchristgit jchristgit self-assigned this May 30, 2024
Copy link
Owner

@jchristgit jchristgit left a comment

Choose a reason for hiding this comment

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

Thank you!

@jchristgit jchristgit merged commit da5e329 into jchristgit:master May 30, 2024
11 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.

Options on subcommands do not work
2 participants