bpftool: Fix typo in bash-completion

_bpftool_get_map_names => _bpftool_get_prog_names for prog-attach|detach.

Fixes: 99f9863a0c ("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
This commit is contained in:
Song Liu 2020-03-09 10:32:18 -07:00 committed by Daniel Borkmann
parent 397692eab3
commit aad32f4c76

View file

@ -389,7 +389,7 @@ _bpftool()
_bpftool_get_prog_ids _bpftool_get_prog_ids
;; ;;
name) name)
_bpftool_get_map_names _bpftool_get_prog_names
;; ;;
pinned) pinned)
_filedir _filedir