Skip to content

Commit 765be03

Browse files
🔤 docs: clarify exclude-common flag behavior
Update help text to clarify that --exclude-common also suppresses AI-confusion and homograph checks. Fix alignment of header banner text to center properly within the box borders.
1 parent c18fdac commit 765be03

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

check-for-unicode/run.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ OPTIONS:
5454
--allowlist FILE Path to allowlist file (default: .unicode-allowlist)
5555
--exclude-emojis Exclude emoji characters and variation selectors (reduces false positives)
5656
--exclude-common Exclude common Unicode typography: smart quotes, dashes,
57-
ellipsis, soft hyphen, superscripts, subscripts,
58-
Roman numerals (recommended for docs/markdown repos)
57+
ellipsis, soft hyphen, superscripts, subscripts, Roman
58+
numerals (recommended for docs/markdown repos; note:
59+
also suppresses some AI-confusion and homograph checks)
5960
--include-binary Include binary files (archives, images, executables, etc.)
6061
By default, only text files are scanned to avoid false positives
6162
@@ -644,8 +645,8 @@ load_allowlist
644645
# Show header unless in quiet or JSON mode
645646
if [ "$QUIET_MODE" = false ] && [ "$JSON_OUTPUT" = false ]; then
646647
echo -e "\033[1;35m╔══════════════════════════════════════════════════════════════╗\033[0m"
647-
echo -e "\033[1;35m║ Big Bear Unicode Security Scanner v${VERSION} AI+ ║\033[0m"
648-
echo -e "\033[1;35m║ Detecting dangerous Unicode & AI injection attacks ║\033[0m"
648+
echo -e "\033[1;35m║ Big Bear Unicode Security Scanner v${VERSION} AI+ ║\033[0m"
649+
echo -e "\033[1;35m║ Detecting dangerous Unicode & AI injection attacks ║\033[0m"
649650
echo -e "\033[1;35m║ Please support me! ║\033[0m"
650651
echo -e "\033[1;35m║ https://ko-fi.com/bigbeartechworld ║\033[0m"
651652
echo -e "\033[1;35m║ Thank you! ║\033[0m"

0 commit comments

Comments
 (0)