diff options
| author | Quentin Monnet <[email protected]> | 2017-10-23 16:24:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-24 00:25:08 +0000 |
| commit | a2bc2e5c2c0604bf5366b5e56ef46335adaf7491 (patch) | |
| tree | edb5731ae927a422408f2f3dcad04b32218a67d0 /tools/bpf/bpftool/json_writer.c | |
| parent | tools: bpftool: copy JSON writer from iproute2 repository (diff) | |
| download | kernel-a2bc2e5c2c0604bf5366b5e56ef46335adaf7491.tar.gz kernel-a2bc2e5c2c0604bf5366b5e56ef46335adaf7491.zip | |
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 <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/json_writer.c')
0 files changed, 0 insertions, 0 deletions
