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

fengchengwen fengchengwen at huawei.com
Tue Jun 3 10:36:47 CEST 2025


Acked-by: Chengwen Feng <fengchengwen at huawei.com>

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 other size), add an explicitly type for that - which also
> allows checking for true/false and 0/1 values explicitly.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list