code: def show_formats():
      """Print all possible values for the 'formats' option (used by
      the "--help-formats" command-line option).
      """
      from ..fancy_getopt import FancyGetopt
      from ..archive_util import ARCHIVE_FORMATS
  
      formats = []
      for format in ARCHIVE_FORMATS.keys():
          formats.append(
              ("formats=" + format, None, ARCHIVE_FORMATS[format][2])
          )
      formats.sort()
      FancyGetopt(formats).print_help(
          "List of available source distribution formats:"
      )
  
imports: import os
  import sys
  from glob import glob
  from warnings import warn
  from ..core import Command
  from distutils import dir_util
  from distutils import file_util
  from distutils import archive_util
  from ..text_file import TextFile
  from ..filelist import FileList
  from distutils._log import log
  from ..util import convert_path
  from ..errors import DistutilsOptionError, DistutilsTemplateError
label_desc: Use image node_id 1 for calling a global function with example usage: show_formats() without return types