about summary refs log tree commit diff
path: root/src/bootstrap/configure.py
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2023-11-08 13:31:15 +0300
committeronur-ozkan <work@onurozkan.dev>2023-11-09 09:22:43 +0300
commitd1e26401bc70a58e6daf1816d542be4573bbab84 (patch)
tree866d76973cb1e4dce56ccbbbd8a4f8520fd1b913 /src/bootstrap/configure.py
parent42fbf3ebf5a6ac9d976e52b4ea63081d19dba9dc (diff)
downloadrust-d1e26401bc70a58e6daf1816d542be4573bbab84.tar.gz
rust-d1e26401bc70a58e6daf1816d542be4573bbab84.zip
chore(bootstrap): capitalize {error, warning, info, note} tags
This should enhance the readability.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'src/bootstrap/configure.py')
-rwxr-xr-xsrc/bootstrap/configure.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py
index 626ca6cf2e7..544a42d9ada 100755
--- a/src/bootstrap/configure.py
+++ b/src/bootstrap/configure.py
@@ -253,7 +253,7 @@ def parse_args(args):
         if not found:
             unknown_args.append(arg)
 
-    # Note: here and a few other places, we use [-1] to apply the *last* value
+    # NOTE: here and a few other places, we use [-1] to apply the *last* value
     # passed.  But if option-checking is enabled, then the known_args loop will
     # also assert that options are only passed once.
     option_checking = ('option-checking' not in known_args
@@ -477,7 +477,7 @@ def configure_section(lines, config):
             # These are used by rpm, but aren't accepted by x.py.
             # Give a warning that they're ignored, but not a hard error.
             if key in ["infodir", "localstatedir"]:
-                print("warning: {} will be ignored".format(key))
+                print("WARNING: {} will be ignored".format(key))
             else:
                 raise RuntimeError("failed to find config line for {}".format(key))