Merge pull request #1087 from Mumumu4/update-nftable

Update nftables completion
This commit is contained in:
Shohei YOSHIDA 2024-06-26 11:21:18 +09:00 committed by GitHub
commit 0a8eb1b0b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -242,8 +242,12 @@ while true;do
descriptors=(": : _nft_object $cmd_fam $cmd_tab $cmd_obj false") descriptors=(": : _nft_object $cmd_fam $cmd_tab $cmd_obj false")
nextstate="start" nextstate="start"
;; ;;
(add-element | delete-element)
cmd_tab=$line[1]
descriptors=(": : _nft_object $cmd_fam $cmd_tab '\(map\|set\)' false")
nextstate="start"
;;
#TODO: #TODO:
#(add-element | delete-element)
#(add-set | add-map) #(add-set | add-map)
#(add-flowtable) #(add-flowtable)
#("add-ct\ helper") #("add-ct\ helper")