Subject: Re: [RFC PATCH iproute2-next 2/2] dcb: add new subcommand for apptrust object

From: Stephen Hemminger <[email-masked]>
Date: Fri, 9 Sep 2022 08:06:31 -0700

On Fri, 9 Sep 2022 12:37:01 +0200
Daniel Machon <[email-masked]> wrote:

>  	} else if (matches(*argv, "app") == 0) {
>  		return dcb_cmd_app(dcb, argc - 1, argv + 1);
> +	} else if (matches(*argv, "apptrust") == 0) {
> +		return dcb_cmd_apptrust(dcb, argc - 1, argv + 1);
>  	} else if (matches(*argv, "buffer") == 0) {

Yet another example of why matches() is bad.

Perhaps this should be named trust instead of apptrust.