in generate_commands_from_synopsis.py [0:0]
def get_cmd_name(cmd): space_idx = cmd.find(' ') if space_idx == -1: return cmd return cmd[:space_idx]