Updating tool message. (#2003)

This commit is contained in:
Pawel Winogrodzki 2022-01-25 13:10:44 -08:00 committed by GitHub
parent b414e504a5
commit a190578214
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 1 deletions

View File

@ -156,7 +156,18 @@ def process_licenses(json_filename, markdown_filename, file_paths, check, update
if outdated_markdown:
print(f"License map '{markdown_filename}' is out of date.")
print(f"Specs' license information is out of date. Run '{__file__} licenses.json_file_path LICENSES-MAP.md_file_path --no_check --update --remove_missing [spec_directory ...]' to regenerate.")
print(f"""
Specs' license information is out of date. Run the following command to regenerate:
{__file__} --no_check --update --remove_missing \\
{json_filename} \\
{markdown_filename} \\
SPECS SPECS-EXTENDED SPECS-SIGNED
NOTE: the script requires installation of the 'python-rpm-spec' module:
python3 -m pip install python-rpm-spec
""")
sys.exit(1)