def GetPassthroughArgs(opts):
  """Returns (list): A list of slave_utils arguments that can be forwarded to
      other slave_utils-args-aware scrpts.

  Args:
      opts: Either the parsed argparse results or the optparse options
          component. The respective parser must have had args/opts added via
          AddArgs/AddOpts.
  """
  args = []
  if opts.slave_utils_gsutil_py_path:
    args += ['--slave-utils-gsutil-py-path', opts.slave_utils_gsutil_py_path]
  return args