]> git.baikalelectronics.ru Git - kernel.git/commit
tools: bpftool: Fix minor bash completion mistakes
authorQuentin Monnet <quentin@isovalent.com>
Thu, 12 Mar 2020 18:46:08 +0000 (18:46 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 12 Mar 2020 23:24:08 +0000 (00:24 +0100)
commit6dc4822b3c1938168495c50040f3b27435a48b4d
treebbb5de804ab3af6e0789cbd33be45c427ee6616a
parenta4d463e65589b09629053aed03aebeece46a12c1
tools: bpftool: Fix minor bash completion mistakes

Minor fixes for bash completion: addition of program name completion for
two subcommands, and correction for program test-runs and map pinning.

The completion for the following commands is fixed or improved:

    # bpftool prog run [TAB]
    # bpftool prog pin [TAB]
    # bpftool map pin [TAB]
    # bpftool net attach xdp name [TAB]

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20200312184608.12050-3-quentin@isovalent.com
tools/bpf/bpftool/bash-completion/bpftool