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 <jsnitsel@redhat.com>
Signed-off-by: Artem Savkov <asavkov@redhat.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Acked-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20231103081126.170034-1-asavkov@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
  • Loading branch information
Artem Savkov authored and Alexei Starovoitov committed Nov 10, 2023
1 parent b0cf0dc commit a46afaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/bpf/bpftool/Documentation/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 a46afaa

Please sign in to comment.