mausezahn: use getopt_long instead of getoptmaster
commit519aae7b91454e45b0528809e94c5008cdf0c060
authorZahari Doychev <zdoychev@maxlinear.com>
Thu, 8 Dec 2022 16:40:17 +0000 (8 17:40 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Wed, 1 Feb 2023 09:49:51 +0000 (1 10:49 +0100)
treed7dafd6f1126eefece8638eac07bb51c3f716f9b
parentb23c1519f14a2c93f7927996844522e3caede79c
mausezahn: use getopt_long instead of getopt

The musl getopt stops processing the options at the first non-option
argument comapared to the glibc variant. Using getopt_long fixes this
problem.

Signed-off-by: Zahari Doychev <zahari.doychev@linux.com>
staging/mausezahn.c