def process_command(command, options, command_registry):
 for entry in command_registry:
  if (command == entry.command_name):
   entry.process_commandline_request(options)
   return
 raise ValueError('Unknown command "{0}".'.format(command))

def process_command ( command , options , command_registry ) : for entry in command_registry : if ( command == entry . command_name ) : entry . process_commandline_request ( options ) return raise ValueError ( 'Unknown command "{0}".' . format ( command ) )
process the given command .