Esempio n. 1
0
 def _print_help(self, options):
     """Print help for this job. This will either print runner
     or basic help. Override to allow other kinds of help."""
     if options.runner:
         _print_help_for_runner(options.runner, options.deprecated)
     else:
         _print_basic_help(self.option_parser, self._usage(),
                           options.deprecated)
Esempio n. 2
0
File: launch.py Progetto: Yelp/mrjob
 def _print_help(self, options):
     """Print help for this job. This will either print runner
     or basic help. Override to allow other kinds of help."""
     if options.runner:
         _print_help_for_runner(
             self._runner_opt_names_for_help(), options.deprecated)
     else:
         _print_basic_help(self.arg_parser,
                           self._usage(),
                           options.deprecated)