@staticmethod
def parse_command(cmd):
    """
        Divide given command string to long and short pieces

        :param cmd: command string divided by colon
        :type cmd: str
        :return: formatted command string
        """
    if cmd.find(':') != -1:
        cmd_slice = cmd.split(':')
        return '{long} or {short}'.format(long=cmd_slice[1], short=cmd_slice[0]
            )
    return '{long}'.format(long=cmd)
