Re: [PATCH 02/12] argparse: add argparse library

2024-01-24 Thread fengchengwen
Hi Thomas, On 2024/1/24 21:24, Thomas Monjalon wrote: > 22/01/2024 04:57, Chengwen Feng: >> Introduce argparse library (which was inspired by the thread [1]). This >> commit provides public API and doc. >> >> [1] >> https://patchwork.dpdk.org/project/dpdk/patch/20231105054539.22303-2-fengcheng...

Re: [PATCH 02/12] argparse: add argparse library

2024-01-24 Thread Thomas Monjalon
22/01/2024 04:57, Chengwen Feng: > Introduce argparse library (which was inspired by the thread [1]). This > commit provides public API and doc. > > [1] > https://patchwork.dpdk.org/project/dpdk/patch/20231105054539.22303-2-fengcheng...@huawei.com/ I'm not sure how this helps with the initial pr

Re: [PATCH 02/12] argparse: add argparse library

2024-01-21 Thread fengchengwen
Hi Stephen, On 2024/1/22 12:54, Stephen Hemminger wrote: > On Mon, 22 Jan 2024 03:57:52 + > Chengwen Feng wrote: > >> +Parsing by autosave way >> +~~~ >> + >> +For which known value types (just like ``RTE_ARGPARSE_ARG_VALUE_INT``"), >> could >> +parse by autosave way, ju

Re: [PATCH 02/12] argparse: add argparse library

2024-01-21 Thread Stephen Hemminger
On Mon, 22 Jan 2024 03:57:52 + Chengwen Feng wrote: > +Parsing by autosave way > +~~~ > + > +For which known value types (just like ``RTE_ARGPARSE_ARG_VALUE_INT``"), > could > +parse by autosave way, just like above "--aaa"/"--bbb"/"--ccc" optional > +arguments: > + > +If

[PATCH 02/12] argparse: add argparse library

2024-01-21 Thread Chengwen Feng
Introduce argparse library (which was inspired by the thread [1]). This commit provides public API and doc. [1] https://patchwork.dpdk.org/project/dpdk/patch/20231105054539.22303-2-fengcheng...@huawei.com/ Signed-off-by: Chengwen Feng --- doc/api/doxy-api-index.md | 1 + doc/api