[PATCH 3/9] Eliminate the full path to the script in usage output

From: Bhaskar Chowdhury
Date: Fri Jun 20 2025 - 19:03:13 EST


Clean to the usage outputted text without full path of the script

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>
---
smatch_scripts/filter_kernel_deref_check.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smatch_scripts/filter_kernel_deref_check.sh b/smatch_scripts/filter_kernel_deref_check.sh
index c70d7994ead9..88071a464c45 100755
--- a/smatch_scripts/filter_kernel_deref_check.sh
+++ b/smatch_scripts/filter_kernel_deref_check.sh
@@ -2,7 +2,7 @@

file=$1
if [[ "$file" = "" ]] ; then
- echo "Usage: $0 <file with smatch messages>"
+ echo "Usage: $(basename $0) <file with smatch messages>"
exit 1
fi

--
2.46.3