diff options
| author | Quentin Monnet <quentin.monnet@netronome.com> | 2017-10-20 01:46:22 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-10-22 04:11:32 +0300 |
| commit | 9f606179c84930ada1e347b6d84bb913c8492fec (patch) | |
| tree | 1829fb95bcdb3d59bce97a666789520e756c75df /include | |
| parent | 1d84487e2a2b98892c3dec7934604e9b76577aa6 (diff) | |
| download | linux-9f606179c84930ada1e347b6d84bb913c8492fec.tar.xz | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
