aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSong Liu2020-03-09 10:32:18 -0700
committerDaniel Borkmann2020-03-10 00:04:21 +0100
commitaad32f4c76a22fa0417db083a8cbf9222d4f3d9a (patch)
tree383abf3d5bc1c0e02ca24869bd351a35e7458768
parent397692eab35cbbd83681880c6a2dbcdb9fd84386 (diff)
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
-rw-r--r--tools/bpf/bpftool/bash-completion/bpftool2
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