Subject: Re: [PATCH iproute2] dcb: app: Add missing "dcb app show dev X default-prio"

From: Stephen Hemminger <[email-masked]>
Date: Wed, 19 Jan 2022 12:36:57 -0800

On Tue, 18 Jan 2022 12:36:44 +0100
Petr Machata <[email-masked]> wrote:

> +		} else if (matches(*argv, "default-prio") == 0) {
> +			dcb_app_print_default_prio(&tab);
>  		} else if (matches(*argv, "dscp-prio") == 0) {
>  			dcb_app_print_dscp_prio(dcb, &tab);

This is an example of why matches() sucks.

Existing users using:
   dcp app show dev X d
will now get different behavior.

You need to redo this patch and put the new argument after "dscp-pri"