[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <88fe1267b23608c27ba4e6dbe69c12a49dab4290.1750459100.git.unixbhaskar@gmail.com>
Date: Sat, 21 Jun 2025 04:08:52 +0530
From: Bhaskar Chowdhury <unixbhaskar@...il.com>
To: dan.carpenter@...aro.org
Cc: Bhaskar Chowdhury <unixbhaskar@...il.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 3/9] Eliminate the full path to the script in usage output
Clean to the usage outputted text without full path of the script
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@...il.com>
---
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
Powered by blists - more mailing lists