xref: /linux/tools/bpf/bpftool/Documentation/common_options.rst (revision 97ef3b7f4fdf8ad6818aa2c8201c3b72cc635e16)
1-h, --help
2	  Print short help message (similar to **bpftool help**).
3
4-V, --version
5	  Print version number (similar to **bpftool version**), and optional
6	  features that were included when bpftool was compiled. Optional
7	  features include linking against libbfd to provide the disassembler
8	  for JIT-ted programs (**bpftool prog dump jited**) and usage of BPF
9	  skeletons (some features like **bpftool prog profile** or showing
10	  pids associated to BPF objects may rely on it).
11
12-j, --json
13	  Generate JSON output. For commands that cannot produce JSON, this
14	  option has no effect.
15
16-p, --pretty
17	  Generate human-readable JSON output. Implies **-j**.
18
19-d, --debug
20	  Print all logs available, even debug-level information. This includes
21	  logs from libbpf as well as from the verifier, when attempting to
22	  load programs.
23