summaryrefslogtreecommitdiff
path: root/tools/bpf
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-06-29 00:41:41 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2018-07-01 02:01:50 +0300
commitef347a340b1a8507c22ee3cf981cd5cd64188431 (patch)
tree93748e7bbcd0ed1a0863bb4c7aede796bb2fc156 /tools/bpf
parent71e07ddcdc03000e37acfc6e757f70c81a963d58 (diff)
downloadlinux-ef347a340b1a8507c22ee3cf981cd5cd64188431.tar.xz
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>
Diffstat (limited to 'tools/bpf')
-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 1e1083321643..b0b8022d3570 100644
--- a/tools/bpf/bpftool/bash-completion/bpftool
+++ b/tools/bpf/bpftool/bash-completion/bpftool
@@ -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
;;