libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit e15beed400f3ced1ba2c60fb78232de177a05e30
parent 8f41da759a0f5352093ced98a2f03e62c970f8de
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Thu, 10 Mar 2016 22:03:32 +0000

build: show help output when there is an error

Diffstat:
build | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build b/build @@ -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