diff --git a/scripts/code-clean.sh b/scripts/code-clean.sh
index 3338b6a..f7b84e7 100644
--- a/scripts/code-clean.sh
+++ b/scripts/code-clean.sh
@@ -1,9 +1,19 @@
 #!/bin/sh
 
+# This script provides a quick way for core developers to clean up the core code
+# during the core development cycle.
+#
+# DO NOT RUN ON A PRODUCTION SITE AS THIS COULD CAUSE DATA LOSS.
+
+# Remove temporary files left behind by various text editors.
 find . -name "*~" -type f | xargs rm -f
 find . -name ".#*" -type f | xargs rm -f
 find . -name "*.rej" -type f | xargs rm -f
 find . -name "*.orig" -type f | xargs rm -f
 find . -name "DEADJOE" -type f | xargs rm -f
+
+# Remove excess spaces at the end of lines.
 find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".tgz" | grep -v ".ico" | grep -v "druplicon" | xargs perl -wi -pe 's/\s+$/\n/'
+
+# Convert tabs to spaces in code files.
 find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".tgz" | grep -v ".ico" | grep -v "druplicon" | xargs perl -wi -pe 's/\t/  /g'
