When generating autocompletion script, subcommands with hyphen are stripped of it and are no longer matched for autocompletion. As discussed in #178 , contained example can be found in [comment](https://github.com/remkop/picocli/issues/178#issuecomment-384400719).