diff options
author | Song Liu <songliubraving@fb.com> | 2020-03-09 10:32:18 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-03-10 00:04:21 +0100 |
commit | aad32f4c76a22fa0417db083a8cbf9222d4f3d9a (patch) | |
tree | 383abf3d5bc1c0e02ca24869bd351a35e7458768 /tools/bpf | |
parent | 397692eab35cbbd83681880c6a2dbcdb9fd84386 (diff) | |
download | linux-stable-aad32f4c76a22fa0417db083a8cbf9222d4f3d9a.tar.gz linux-stable-aad32f4c76a22fa0417db083a8cbf9222d4f3d9a.tar.bz2 linux-stable-aad32f4c76a22fa0417db083a8cbf9222d4f3d9a.zip |
bpftool: Fix typo in bash-completion
_bpftool_get_map_names => _bpftool_get_prog_names for prog-attach|detach.
Fixes: 99f9863a0c45 ("bpftool: Match maps by name")
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20200309173218.2739965-5-songliubraving@fb.com
Diffstat (limited to 'tools/bpf')
-rw-r--r-- | tools/bpf/bpftool/bash-completion/bpftool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/bash-completion/bpftool b/tools/bpf/bpftool/bash-completion/bpftool index 49f4ab2f67e3..a9cce9d3745a 100644 --- a/tools/bpf/bpftool/bash-completion/bpftool +++ b/tools/bpf/bpftool/bash-completion/bpftool @@ -389,7 +389,7 @@ _bpftool() _bpftool_get_prog_ids ;; name) - _bpftool_get_map_names + _bpftool_get_prog_names ;; pinned) _filedir |