diff options
author | Francis Rowe <info@gluglug.org.uk> | 2016-03-10 17:03:32 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2016-03-10 17:03:32 (EST) |
commit | e15beed400f3ced1ba2c60fb78232de177a05e30 (patch) | |
tree | 0b5968ba7389540d30a470094b57bb56a5b4f638 /build | |
parent | 8f41da759a0f5352093ced98a2f03e62c970f8de (diff) | |
download | libreboot-e15beed400f3ced1ba2c60fb78232de177a05e30.zip libreboot-e15beed400f3ced1ba2c60fb78232de177a05e30.tar.gz libreboot-e15beed400f3ced1ba2c60fb78232de177a05e30.tar.bz2 |
build: show help output when there is an error
Diffstat (limited to 'build')
-rwxr-xr-x | build | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -87,10 +87,12 @@ if [ $# -gt 1 ]; then if [ -f "${build}"/"${mode}"/"${option}" ]; then "${build}"/"${mode}"/"${option}" "$@" else + help die "Invalid option for '${mode}'. See './build ${mode} list'." fi else - die "Invalid mode. See './build help'." + help + die "Invalid mode '${mode}'. See './build help'." fi esac else |