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 handling of "-jX" short style flag with argument #70

Closed
wants to merge 4 commits into from

Conversation

jepler
Copy link

@jepler jepler commented Jul 11, 2022

Closes: #69.

jepler added 4 commits July 11, 2022 18:09
As the implementation becomes more complicated, it's better not to
repeat it.
Before, _index_arg (and _in_argv) would not function correctly in this
case.

This change makes the recently added tests pass and closes clueboard#69.
@github-actions
Copy link

This PR has been idle for 6 months and will be closed in 2 months if the stale lable is not removed.

@github-actions github-actions bot added the Stale label Jun 14, 2023
@jepler
Copy link
Author

jepler commented Jun 15, 2023

Hi, is there anything I can do to move this forward?

@github-actions github-actions bot removed the Stale label Jun 16, 2023
@skullydazed
Copy link
Collaborator

Hey there, apologies for not responding for so long. Every time I come back to this I want to fix it, but this particular approach leads to some confusing results if you try to combine short style flags in other ways, EG using -sv instead of -s -v. I don't remember all the details now, but last I looked into it the basic problem is that I can't get the necessary information from argparse to unambiguously parse these types of flags consistently with how argparse does it.

@jepler
Copy link
Author

jepler commented Jan 27, 2024

That's fine, I added that info to #69 and I'll close this up. Thanks for getting back to me!

@jepler jepler closed this Jan 27, 2024
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.

command-line params don't override config (again)
2 participants