Skip to content

Commit b81a677

Browse files
wangyufen316Alexei Starovoitov
authored andcommitted
bpftool: Update the bash completion(add autoattach to prog load)
Add autoattach optional to prog load|loadall for supporting one-step load-attach-pin_link. Signed-off-by: Wang Yufen <wangyufen@huawei.com> Link: https://lore.kernel.org/r/1665736275-28143-4-git-send-email-wangyufen@huawei.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
1 parent ff0e9a5 commit b81a677

File tree

1 file changed

+1
-0
lines changed
  • tools/bpf/bpftool/bash-completion

1 file changed

+1
-0
lines changed

tools/bpf/bpftool/bash-completion/bpftool

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ _bpftool()
505505
_bpftool_once_attr 'type'
506506
_bpftool_once_attr 'dev'
507507
_bpftool_once_attr 'pinmaps'
508+
_bpftool_once_attr 'autoattach'
508509
return 0
509510
;;
510511
esac

0 commit comments

Comments
 (0)