code: def _format_options_usage(options):
      """
      Format the Options-part of the usage text.
  
      Parameters
      ----------
          options : list[sacred.commandline_options.CommandLineOption]
              A list of all supported commandline options.
  
      Returns
      -------
          str
              Text formatted as a description for the commandline options
  
      """
      options_usage = ""
      for op in options:
          short, long = op.get_flags()
          if op.arg:
              flag = "{short} {arg} {long}={arg}".format(
                  short=short, long=long, arg=op.arg
              )
          else:
              flag = "{short} {long}".format(short=short, long=long)
  
          if isinstance(op, CLIOption):
              doc = op.get_description()
          else:
              # legacy
              doc = inspect.cleandoc(op.__doc__)
          wrapped_description = textwrap.wrap(
              doc,
              width=79,
              initial_indent=" " * 32,
              subsequent_indent=" " * 32,
          )
          wrapped_description = "\n".join(wrapped_description).strip()
  
          options_usage += "  {:28}  {}\n".format(
              flag, wrapped_description
          )
      return options_usage
  
file_path: sacred/sacred/arg_parser.py
imports: import ast
  import textwrap
  import inspect
  from shlex import quote
  from sacred.serializer import restore
  from sacred.settings import SETTINGS
  from sacred.utils import set_by_dotted_path
  from sacred.commandline_options import CLIOption
label_desc: Use image node_id 2 for calling a global function with example usage: _format_options_usage(options) and returns: options_usage