summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/cmd/install.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh
index 74242cc..14488f3 100644
--- a/lib/cmd/install.sh
+++ b/lib/cmd/install.sh
@@ -41,7 +41,10 @@ cmd_install_main()
local mirror=
local foreign=
- get_options "${@}"
+ if ! get_options "${@}"; then
+ print_cmd_usage 'install' >&2
+ exit 1
+ fi
shift $(($OPTIND - 1))
if [ ${#} -lt 2 ]; then