Commit b81a6774 authored by Wang Yufen's avatar Wang Yufen Committed by Alexei Starovoitov

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: default avatarWang Yufen <wangyufen@huawei.com>
Link: https://lore.kernel.org/r/1665736275-28143-4-git-send-email-wangyufen@huawei.comSigned-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent ff0e9a57
...@@ -505,6 +505,7 @@ _bpftool() ...@@ -505,6 +505,7 @@ _bpftool()
_bpftool_once_attr 'type' _bpftool_once_attr 'type'
_bpftool_once_attr 'dev' _bpftool_once_attr 'dev'
_bpftool_once_attr 'pinmaps' _bpftool_once_attr 'pinmaps'
_bpftool_once_attr 'autoattach'
return 0 return 0
;; ;;
esac esac
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment