tools: bpftool: Include common options from separate file
[linux-2.6-microblaze.git] / tools / bpf / bpftool / Documentation / bpftool.rst
index a3629a3..b87f8c2 100644 (file)
@@ -46,24 +46,7 @@ DESCRIPTION
 
 OPTIONS
 =======
-       -h, --help
-                 Print short help message (similar to **bpftool help**).
-
-       -V, --version
-                 Print version number (similar to **bpftool version**), and
-                 optional features that were included when bpftool was
-                 compiled. Optional features include linking against libbfd to
-                 provide the disassembler for JIT-ted programs (**bpftool prog
-                 dump jited**) and usage of BPF skeletons (some features like
-                 **bpftool prog profile** or showing pids associated to BPF
-                 objects may rely on it).
-
-       -j, --json
-                 Generate JSON output. For commands that cannot produce JSON, this
-                 option has no effect.
-
-       -p, --pretty
-                 Generate human-readable JSON output. Implies **-j**.
+       .. include:: common_options.rst
 
        -m, --mapcompat
                  Allow loading maps with unknown map definitions.
@@ -72,11 +55,6 @@ OPTIONS
                  Do not automatically attempt to mount any virtual file system
                  (such as tracefs or BPF virtual file system) when necessary.
 
-       -d, --debug
-                 Print all logs available, even debug-level information. This
-                 includes logs from libbpf as well as from the verifier, when
-                 attempting to load programs.
-
 SEE ALSO
 ========
        **bpf**\ (2),