barebox-state: Fail for unhandled arguments
When passing unhandled arguments as in

  % barebox-state foo

these will be silently ignored. This may lead to misunderstandings and
unintended behavior, thus the user should be informed and the programm
should exit with an error in these cases.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
1 parent 7974f83 commit 5ef3f9b16827478a3bfd24bc07de89a7732d93b9
@Enrico Jorns Enrico Jorns authored on 15 May 2017
Showing 1 changed file
View
src/barebox-state.c