lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 6 Sep 2018 11:39:21 +0100
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Caleb Raitto <caleb.raitto@...il.com>
Cc:     netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
        jiri@...nulli.us, Caleb Raitto <caraitto@...gle.com>
Subject: Re: [PATCH iproute2] tc/mqprio: Print extra info on invalid args.

On Wed,  5 Sep 2018 13:24:19 -0700
Caleb Raitto <caleb.raitto@...il.com> wrote:

> From: Caleb Raitto <caraitto@...gle.com>
> 
> Print the name of the argument that wasn't understood, and also print
> the usage string.
> 
> Signed-off-by: Caleb Raitto <caraitto@...gle.com>


The standard code pattern in iproute2 is to use invarg().
Why not use that?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ