put reason for checking for old files in error msg
authorJacob Lifshay <programmerjake@gmail.com>
Mon, 31 Jul 2023 01:31:51 +0000 (18:31 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Mon, 31 Jul 2023 01:31:51 +0000 (18:31 -0700)
src/openpower/decoder/pseudo/pywriter.py

index 5b678bc5c774872f71419d50899e19b856fd6a5c..6d436eef2f8f9877322bd6e91d2022f6c36a09b9 100644 (file)
@@ -79,7 +79,8 @@ class PyISAWriter(ISA):
             lines = [
                 f"found likely old generated file: {first_old_fname!r}",
                 f"new location: {first_fname!r}",
-                "please remove the old generated files or add to:",
+                ("please remove the old generated files to avoid committing "
+                 "them or add to:"),
                 ("openpower.decoder.pseudo.pywriter."
                  "OLD_GENERATED_FILES_EXCEPTIONS"),
                 "commands to remove all likely old generated files:",