mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 15:47:36 +00:00
bpftool: Add gen skeleton
BASH completions
Add BASH completions for gen sub-command. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Martin KaFai Lau <kafai@fb.com> Cc: Quentin Monnet <quentin.monnet@netronome.com> Link: https://lore.kernel.org/bpf/20191214014341.3442258-18-andriin@fb.com
This commit is contained in:
parent
197448eaac
commit
d9c00c3b16
1 changed files with 11 additions and 0 deletions
|
@ -839,6 +839,17 @@ _bpftool()
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
gen)
|
||||||
|
case $command in
|
||||||
|
skeleton)
|
||||||
|
_filedir
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
[[ $prev == $object ]] && \
|
||||||
|
COMPREPLY=( $( compgen -W 'skeleton help' -- "$cur" ) )
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
cgroup)
|
cgroup)
|
||||||
case $command in
|
case $command in
|
||||||
show|list|tree)
|
show|list|tree)
|
||||||
|
|
Loading…
Reference in a new issue