hush: implement "command -v -V"
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 12 Jan 2018 13:41:45 +0000 (14:41 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 12 Jan 2018 13:41:45 +0000 (14:41 +0100)
commit5700029c65f2218b5fceca77a9140aff6d882aab
tree39c98b5ad7a7b0eab4ec18e4111b8b6677066f19
parentcca7c611f26d98415c0f986e5a5e731ab5e379ff
hush: implement "command -v -V"

function                                             old     new   delta
pseudo_exec_argv                                     231     374    +143
if_command_vV_print_and_exit                           -     127    +127
builtin_set                                          267     273      +6
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 276/0)             Total: 276 bytes

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