Open
Description
The bash completion doesn't handle subcommands that have hyphens in them correctly.
ArgumentParser version: 1.5.0
and main
Swift version: N/A
Checklist
- If possible, I've reproduced the issue using the
main
branch of this package - I've searched for existing GitHub issues
Steps to Reproduce
The unit tests have a subcommand and the generated bash completion doesn't actually work. So the tests already reproduce the issue if the bash completion is loaded.
Expected behavior
Subcommand completion should be correct.
Actual behavior
_base_test_sub-command: command not found
Metadata
Metadata
Assignees
Labels
No labels