def _build_args(method, ip, comment):
 opt = _get_opt(method)
 args = '{0} {1}'.format(opt, ip)
 if comment:
  args += ' {0}'.format(comment)
 return args

def _build_args ( method , ip , comment ) : opt = _get_opt ( method ) args = '{0} {1}' . format ( opt , ip ) if comment : args += ' {0}' . format ( comment ) return args
returns the cmd args for csf basic allow/deny commands .