def arg_name(self):
        """
        Returns the name of the parameter as a command line flag
        """
        if self.constraint is bool and self.value:
            return '--no-%s' % self.name.replace('_', '-')
        return '--%s' % self.name.replace('_', '-')
Returns the name of the parameter as a command line flag