forked from luck/tmp_suning_uos_patched
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
|
@ -839,6 +839,17 @@ _bpftool()
|
|||
;;
|
||||
esac
|
||||
;;
|
||||
gen)
|
||||
case $command in
|
||||
skeleton)
|
||||
_filedir
|
||||
;;
|
||||
*)
|
||||
[[ $prev == $object ]] && \
|
||||
COMPREPLY=( $( compgen -W 'skeleton help' -- "$cur" ) )
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
cgroup)
|
||||
case $command in
|
||||
show|list|tree)
|
||||
|
|
Loading…
Reference in New Issue
Block a user