bc: fix "bc -v" printing version info twice, and not exiting
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 6 Dec 2018 08:07:06 +0000 (09:07 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 6 Dec 2018 08:07:06 +0000 (09:07 +0100)
commit54214c38db943e7b3541e841f5b7399e36047f70
tree80fa5ec7811bc8cc66d8f12f2eb3cfc394cf72fc
parent1ff1c7094403fa96acce46611e7bf9534f2d8404
bc: fix "bc -v" printing version info twice, and not exiting

function                                             old     new   delta
bc_args                                              123     130      +7
bc_num_binary                                        150     148      -2
static.nullptr                                         4       -      -4
bc_vm_run                                           1883    1874      -9
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/2 up/down: 7/-15)              Total: -8 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c