From bef98d42bf9a7b14c183ccb237cec9051d9086bb Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Thu, 19 Sep 2019 11:39:34 +0200 Subject: [PATCH] beesh: Die when called with unknown option Currently, when beesh is invoked with an unknown option ./bla.be0 --nonsense it happily continues. I can't see that this ise usefull enywhere. Make beesh abort when called with an unknown option. --- src/beesh.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beesh.sh.in b/src/beesh.sh.in index d02faa4..eb9b020 100644 --- a/src/beesh.sh.in +++ b/src/beesh.sh.in @@ -864,7 +864,7 @@ function bee_run() { ############################################################################### -OPTIONS=$("${BEE_BINDIR}/beegetopt" --name beesh \ +OPTIONS=$("${BEE_BINDIR}/beegetopt" --name beesh --no-skip-unknown-option \ --option help/h \ --option install/i \ --option force-install/f \