def default_help_formatter(quick_helps):
 ret = ''
 for line in quick_helps:
  (cmd_path, param_hlp, cmd_hlp) = line
  ret += (' '.join(cmd_path) + ' ')
  if param_hlp:
   ret += (param_hlp + ' ')
  ret += (('- ' + cmd_hlp) + '\n')
 return ret

def default_help_formatter ( quick_helps ) : ret = '' for line in quick_helps : ( cmd_path , param_hlp , cmd_hlp ) = line ret += ( ' ' . join ( cmd_path ) + ' ' ) if param_hlp : ret += ( param_hlp + ' ' ) ret += ( ( '- ' + cmd_hlp ) + '\n' ) return ret
apply default formatting for help messages .