Skip to content

Conversation

@donald
Copy link
Contributor

@donald donald commented Sep 19, 2019

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.

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.
@wwwutz
Copy link
Contributor

wwwutz commented Sep 19, 2019

I think this is intended. You will find @ARGS in $OPTIONS sorted by beesh-known -- beesh-unknown

./bla.be0  --lala huhu lala --check

results in

OPTIONS=--check -- './bee-files/make-4.2.1-2.bee' '--lala' 'huhu' 'lala'

which is ... brilliant !

I wouldn't let it die.

@donald
Copy link
Contributor Author

donald commented Sep 20, 2019

I know, but didn't find a single usage of that.

Sign in to join this conversation on GitHub.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants