tools: bpftool: add doc for -m option to bpftool-prog.rst
authorQuentin Monnet <quentin.monnet@netronome.com>
Fri, 14 Dec 2018 13:55:57 +0000 (13:55 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Sat, 15 Dec 2018 00:31:48 +0000 (01:31 +0100)
The --mapcompat|-m option has been documented on the main bpftool.rst
page, and on the interactive help. As this option is useful for loading
programs with maps with the "bpftool prog load" command, it should also
appear in the related bpftool-prog.rst documentation page. Let's add it.

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

index bb1aeb9..b41e96a 100644 (file)
@@ -158,6 +158,9 @@ OPTIONS
                  When showing BPF programs, show file names of pinned
                  programs.
 
+       -m, --mapcompat
+                 Allow loading maps with unknown map definitions.
+
 EXAMPLES
 ========
 **# bpftool prog show**