Re: [PATCH 1/3] argparse: add support for string and boolean args

2025-06-03 Thread fengchengwen
Acked-by: Chengwen Feng On 2025/5/27 17:21, Bruce Richardson wrote: > Sometimes we don't want to parse the string at all, when doing arg > parsing, and just save it off for later. Add support for that. > > Also, rather than assuming boolean values have to be the same size as > uint8 (or some oth

[PATCH 1/3] argparse: add support for string and boolean args

2025-05-27 Thread Bruce Richardson
Sometimes we don't want to parse the string at all, when doing arg parsing, and just save it off for later. Add support for that. Also, rather than assuming boolean values have to be the same size as uint8 (or some other size), add an explicitly type for that - which also allows checking for true/