aboutsummaryrefslogtreecommitdiff
path: root/tools/bpf/bpftool/main.h
diff options
context:
space:
mode:
authorQuentin Monnet2017-10-23 09:24:06 -0700
committerDavid S. Miller2017-10-24 01:25:08 +0100
commita2bc2e5c2c0604bf5366b5e56ef46335adaf7491 (patch)
treeedb5731ae927a422408f2f3dcad04b32218a67d0 /tools/bpf/bpftool/main.h
parentb66e907cfee240a09a4b5aabf950a0d4c8da8d32 (diff)
tools: bpftool: add option parsing to bpftool, --help and --version
Add an option parsing facility to bpftool, in prevision of future options for demanding JSON output. Currently, two options are added: --help and --version, that act the same as the respective commands `help` and `version`. Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/bpf/bpftool/main.h')
0 files changed, 0 insertions, 0 deletions