History

scripts/decode_stacktrace.sh: indicate 'auto' can be used for base path

Add "auto" to the usage message so that it's a little clearer that you can pass "auto" as the second argument. When passing "auto" the script tries to find the base path automatically instead of requiring it be passed on the commandline. Also use [<variable>] to indicate the variable argument and that it is optional so that we can differentiate from the literal "auto" that should be passed.

Stephen Boyd committed 5 years ago

Commit d5ce7571 parent 5bf0f3b1 file · +1 −1Browse files

Showing the changes to scripts/decode_stacktrace.sh (1 of 1 file). Show all

Unified · Split

scripts/decode_stacktrace.sh+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
5 5
6usage() {6usage() {
7 echo "Usage:"7 echo "Usage:"
8 echo " $0 -r <release> | <vmlinux> [base path] [modules path]"8 echo " $0 -r <release> | <vmlinux> [<base path>|auto] [<modules path>]"
9}9}
10 10
11if [[ $1 == "-r" ]] ; then11if [[ $1 == "-r" ]] ; then