code: def get_available_parameters(self):
          
  
          # At the moment, we rely on regex to extract the list of available
          # parameters. A tighter integration with waf would allow for a more
          # natural extraction of the information.
  
          stdout = self.run_program("%s %s" % (self.script_executable,
                                               '--PrintHelp'),
                                    environment=self.environment,
                                    native_spec=BUILD_GRID_PARAMS)
  
          options = re.findall('.*Program\s(?:Arguments|Options):(.*)'
                               'General\sArguments.*',
                               stdout, re.DOTALL)
  
          if len(options):
              args = re.findall('.*--(.*?):.*', options[0], re.MULTILINE)
              return args
          else:
              return []
docs: Return a list of the parameters made available by the script.