Change dots in command name with '-'