Skip to content

Commit

Permalink
bpftool: Fix prog object type in manpage
Browse files Browse the repository at this point in the history
bpftool's man page lists "program" as one of possible values for OBJECT,
while in fact bpftool accepts "prog" instead.

Reported-by: Jerry Snitselaar <[email protected]>
Signed-off-by: Artem Savkov <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Acked-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
  • Loading branch information
sm00th authored and qmonnet committed Nov 14, 2023
1 parent d712a3e commit fa46ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/bpftool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SYNOPSIS

**bpftool** **version**

*OBJECT* := { **map** | **program** | **link** | **cgroup** | **perf** | **net** | **feature** |
*OBJECT* := { **map** | **prog** | **link** | **cgroup** | **perf** | **net** | **feature** |
**btf** | **gen** | **struct_ops** | **iter** }

*OPTIONS* := { { **-V** | **--version** } | |COMMON_OPTIONS| }
Expand Down

0 comments on commit fa46ebb

Please sign in to comment.