<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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('_', '-')