def fix_help_options(options):
 new_options = []
 for help_tuple in options:
  new_options.append(help_tuple[0:3])
 return new_options

def fix_help_options ( options ) : new_options = [ ] for help_tuple in options : new_options . append ( help_tuple [ 0 : 3 ] ) return new_options
convert a 4-tuple help_options list as found in various command classes to the 3-tuple form required by fancygetopt .