nslookup: rework option parsing
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 15 Apr 2018 10:01:46 +0000 (12:01 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 15 Apr 2018 10:01:46 +0000 (12:01 +0200)
commitd4461ef9fb09a48b442c28ddf42314ad146b6e76
tree517b024a8614e60faec15fc66abfcc70c40a4587
parenta980109c6aa36995434eae4993e77d346d2f227a
nslookup: rework option parsing

function                                             old     new   delta
nslookup_main                                       2715    2754     +39
packed_usage                                       32179   32211     +32
add_ns                                                65      66      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 72/0)               Total: 72 bytes
   text    data     bss     dec     hex filename
 926262     555    5740  932557   e3acd busybox_old
 926239     555    5740  932534   e3ab6 busybox_unstripped

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