tools: bpftool: fix examples in documentation for bpftool prog
authorQuentin Monnet <quentin.monnet@netronome.com>
Fri, 14 Dec 2018 13:55:58 +0000 (13:55 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Sat, 15 Dec 2018 00:31:48 +0000 (01:31 +0100)
commit32870ba4078c3b4deac7ccb35b078c9ab69488a3
tree5d878cd24f1916ca1585b44a1b1fe16a988433d9
parentbc6cd664609b92aa437ed3f384e332faab5949c8
tools: bpftool: fix examples in documentation for bpftool prog

Bring various fixes to the manual page for "bpftool prog" set of
commands:

- Fix typos ("dum" -> "dump")
- Harmonise indentation and format for command output
- Update date format for program load time
- Add instruction numbers on program dumps
- Fix JSON format for the example program listing

Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/bpf/bpftool/Documentation/bpftool-prog.rst