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

2025-06-03 Thread Bruce Richardson
On Tue, Jun 03, 2025 at 04:44:42PM +0800, fengchengwen wrote: > On 2025/5/27 17:21, 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 i

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

2025-06-03 Thread fengchengwen
On 2025/5/27 17:21, 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 number of arguments pa

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

2025-05-27 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