Searched hist:"9 f606179c84930ada1e347b6d84bb913c8492fec" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/bpf/bpftool/ |
H A D | prog.c | diff 9f606179c84930ada1e347b6d84bb913c8492fec Thu Oct 19 17:46:22 CDT 2017 Quentin Monnet <quentin.monnet@netronome.com> tools: bpftool: add `bpftool prog help` as real command i.r.t exit code
Make error messages and return codes more consistent. Specifically, make `bpftool prog help` a real command, instead of printing usage by default for a non-recognized "help" command. Output is the same, but this makes bpftool return with a success value instead of an error.
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
|