This set updates the list of options for bpftool commands, as displayed in the summary of the man pages. It also updates the script that checks those option lists, to make it more robust, and more reusable if the layout of bpftool's directory changed. Checkpatch complained about the missing SPDX tag when I added a new file under bpftool/Documentation; I fixed it by adding the tag, and while at it, I also added the tags to all RST files for bpftool's documentation (see first patch of this set). Quentin Monnet (3): bpftool: Add SPDX tags to RST documentation files bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.py selftests/bpf: Configure dir paths via env in test_bpftool_synctypes.py tools/bpf/bpftool/Documentation/Makefile | 2 +- .../bpf/bpftool/Documentation/bpftool-btf.rst | 7 +- .../bpftool/Documentation/bpftool-cgroup.rst | 7 +- .../bpftool/Documentation/bpftool-feature.rst | 6 +- .../bpf/bpftool/Documentation/bpftool-gen.rst | 7 +- .../bpftool/Documentation/bpftool-iter.rst | 6 +- .../bpftool/Documentation/bpftool-link.rst | 7 +- .../bpf/bpftool/Documentation/bpftool-map.rst | 7 +- .../bpf/bpftool/Documentation/bpftool-net.rst | 6 +- .../bpftool/Documentation/bpftool-perf.rst | 6 +- .../bpftool/Documentation/bpftool-prog.rst | 6 +- .../Documentation/bpftool-struct_ops.rst | 6 +- tools/bpf/bpftool/Documentation/bpftool.rst | 7 +- .../bpftool/Documentation/common_options.rst | 2 + .../bpftool/Documentation/substitutions.rst | 3 + .../selftests/bpf/test_bpftool_synctypes.py | 94 ++++++++++++++++--- 16 files changed, 145 insertions(+), 34 deletions(-) create mode 100644 tools/bpf/bpftool/Documentation/substitutions.rst -- 2.32.0