fbset: abort on not handled options
commite8dfa0c1bedf69783e54b5a7798fb14dcaeb0434
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Fri, 9 Sep 2022 07:05:51 +0000 (9 09:05 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 16 Nov 2022 12:39:35 +0000 (16 13:39 +0100)
tree9bcc9e5525cef342bd6df9bb5a8dfa023a551123
parentcb8d2ea8c91b5671b05e06ab2282496104453378
fbset: abort on not handled options

Not all options are actually implemented. In this case, return a message
and an error code to make it clear that the requested command has not
been executed.

function                                             old     new   delta
.rodata                                           105200  105224     +24
fbset_main                                           747     733     -14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 24/-14)             Total: 10 bytes

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/fbset.c