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:")
Print all possible values for the 'formats' option (used by
    the "--help-formats" command-line option).
    
product/gradle-plugin/src/main/python/setuptools/_distutils/command/sdist.py