stecman / symfony-console-completion

Automatic tab-key completion for Symfony console application options, arguments and parameters
MIT License
420 stars 26 forks source link

Replace "-" with "_" in hook function name #49

Closed aik099 closed 8 years ago

aik099 commented 9 years ago

Right now program name is used to generate hook name, but when program name is project-tool then function name is ....project-tool... which isn't valid in Bash.

I think, that we should replace - with _ in function name to avoid that problem.