提交 ef347a34 编写于 作者: J Jakub Kicinski 提交者: Daniel Borkmann

tools: bpftool: add missing --bpffs to completions

--bpffs is not suggested by bash completions.
Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: NQuentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
上级 71e07ddc
...@@ -182,7 +182,7 @@ _bpftool() ...@@ -182,7 +182,7 @@ _bpftool()
if [[ -z $object ]]; then if [[ -z $object ]]; then
case $cur in case $cur in
-*) -*)
local c='--version --json --pretty' local c='--version --json --pretty --bpffs'
COMPREPLY=( $( compgen -W "$c" -- "$cur" ) ) COMPREPLY=( $( compgen -W "$c" -- "$cur" ) )
return 0 return 0
;; ;;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册