summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/build b/build
index a4fa0a7..fa8b54d 100755
--- 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