Re: [RFC PATCH 3/7] argparse: make argparse EAL-args compatible

2025-05-22 Thread Bruce Richardson
On Tue, May 20, 2025 at 05:40:20PM +0100, Bruce Richardson wrote: > The argparse library was missing two key features which made it > unsuitable for use by EAL or any program wanting similar behaviour. > > 1. It didn't stop parsing arguments when it hit a "--" character > 2. It never returned the

[RFC PATCH 3/7] argparse: make argparse EAL-args compatible

2025-05-20 Thread Bruce Richardson
The argparse library was missing two key features which made it unsuitable for use by EAL or any program wanting similar behaviour. 1. It didn't stop parsing arguments when it hit a "--" character 2. It never returned the number of arguments parsed Fix both these issues - the latter is a change t