tools: bpftool: add missing --bpffs to completions

--bpffs is not suggested by bash completions.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:
Jakub Kicinski 2018-06-28 14:41:41 -07:00 committed by Daniel Borkmann
parent 71e07ddcdc
commit ef347a340b
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ _bpftool()
if [[ -z $object ]]; then
case $cur in
-*)
local c='--version --json --pretty'
local c='--version --json --pretty --bpffs'
COMPREPLY=( $( compgen -W "$c" -- "$cur" ) )
return 0
;;