[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <afef23e087d4ea73b1700b1effacdcaa46663d35.1750459100.git.unixbhaskar@gmail.com>
Date: Sat, 21 Jun 2025 04:08:51 +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 2/9] Looks nicer in usage output without the full path of the script
Add basename to scriptname for the clean look of the output.
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@...il.com>
---
smatch_scripts/build_kernel_data.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/smatch_scripts/build_kernel_data.sh b/smatch_scripts/build_kernel_data.sh
index 87f1f0639c55..c338da6e43e4 100755
--- a/smatch_scripts/build_kernel_data.sh
+++ b/smatch_scripts/build_kernel_data.sh
@@ -6,7 +6,7 @@ PROJECT=kernel
function usage {
echo
- echo "Usage: $0"
+ echo "Usage: $(basename $0)"
echo "Updates the smatch_data/ directory and builds the smatch database"
echo
exit 1
--
2.46.3
Powered by blists - more mailing lists