INNER CODE UNIT · Python

_handle_help

oracle/docker-images · OracleDatabase/GDD/containerfiles/scripts/main.py:85

def _handle_help(oralogger, stdout_handler, file_name):
   oralogger.msg_ = '''{:^17}-{:^17} : {}'''.format(file_name, "main", _HELP_TEXT)
   stdout_handler.handle(oralogger)


def _apply_option(opt, arg, oenv, oralogger, ocommon):
   if opt == "--optype":
      oenv.add_custom_variable("OP_TYPE", arg)
      return None

   rule = _OPTION_RULES.get(opt)
   if not rule:
      return None

   logfile_type, custom_key, disable_stdout = rule
   if disable_stdout:
      oralogger.stdout_ = None

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…