-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Labels
enhancementNew feature or requestNew feature or requestexternal-requestYou asked, we didYou asked, we didshell-bash
Description
I have an argparse script which accepts subcommands with names like:
my/first/subcommand
my/second/subcommand
which end up causing invalid completion scripts similar to #20.
It would be trivial to add /
to the list of characters replaced in wordify()
, or even change the character set to \W
to replace any non-word character. Are either of these options preferable? (both work when tested with my script)
I'm happy to put together a one-line pull request if you think this is worthwhile.
casperdcl
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestexternal-requestYou asked, we didYou asked, we didshell-bash