[PATCH] scripts/decode_stacktrace.sh update usage to show vmlinux is mandatory

Jinchao Wang
2026-01-12T09:11:13Z

The script currently errors out if vmlinux is not provided, but the
usage string implies it is optional. Remove the square brackets to
correctly indicate that <vmlinux> is a required argument.

Signed-off-by: Jinchao Wang <wangjinchao600@gmail.com>
---
scripts/decode_stacktrace.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/decode_stacktrace.sh b/scripts/decode_stacktrace.sh
index 8d01b741de62..83478a42d749 100755
--- a/scripts/decode_stacktrace.sh
+++ b/scripts/decode_stacktrace.sh
@@ -6,7 +6,7 @@
usage() {
echo "Usage:"
echo " $0 -r <release>"
- echo " $0 [<vmlinux> [<base_path>|auto [<modules_path>]]]"
+ echo " $0 <vmlinux> [<base_path>|auto [<modules_path>]]"
echo " $0 -h"
}

--
2.43.0