This is a cleanup I had in store for ages but never sent. The idea is to reuse the conventions from EAL and examples when it comes to using getopt API.
-- David Marchand Changes since v1: - following Ferruh review, added 2 more cleanup patches, David Marchand (6): app/testpmd: fix stats-period option check app/testpmd: fix burst option parsing app/testpmd: fix error message for invalid option app/testpmd: enhance queue count check app/testpmd: remove dead code for disabling cmdline library app/testpmd: enhance getopt_long usage app/test-pmd/parameters.c | 1945 +++++++++++++++++++++---------------- app/test-pmd/testpmd.c | 8 +- 2 files changed, 1086 insertions(+), 867 deletions(-) -- 2.44.0