def _format_arg(self, name, spec, value):
    if (name == 'title'):
        if (isinstance(value, bool) and value):
            return '--title'
        elif isinstance(value, str):
            return ('--title --title_text %s' % (value,))
        else:
            raise ValueError(('Unknown value for "title" argument: ' + str(value)))
    return super(Pik, self)._format_arg(name, spec, value)
def _format_arg(self, name, spec, value):
    if (name == 'title'):
        if (isinstance(value, bool) and value):
            return '--title'
        elif isinstance(value, str):
            return ('--title --title_text %s' % (value,))
        else:
            raise ValueError(('Unknown value for "title" argument: ' + str(value)))
    return super(Pik, self)._format_arg(name, spec, value)