Shohei YOSHIDA
|
7313f8360b
|
Merge pull request #1088 from Mumumu4/fix-nft-type-in-name
Fix nftables completion: when object name contains its type name
|
2024-06-26 11:32:26 +09:00 |
Mumumu
|
0bd94fb993
|
Fix nftables completion: when object name contains its type name, the completion may mass up
E.g.
```
table inet foo {
chain my_chain {
jump my_chain2
}
chain my_chain2 {
}
}
```
`nft delete chain inet foo <tab>`
get
```
handle -- address chain by handle
my_chain2 -- (handle 31)
my_chain -- (handle 30)
\t\tjump my_chain2 # handle 33
```
the last line in the completion output is not wanted.
|
2024-06-25 21:34:06 +08:00 |
Mumumu
|
6621b9fa2f
|
Update nftables completion
add completion for set/map name in `nft add/delete element [family] table <tab>`
|
2024-06-25 20:13:44 +08:00 |
Dimitris Apostolou
|
1d492c7151
|
Fix typos
|
2023-01-04 22:50:35 +02:00 |
test
|
e64e3c2d02
|
Fix nftables completion
|
2022-10-04 15:29:19 +08:00 |
Dimitris Apostolou
|
9e9bee7066
|
Fix typos
|
2020-04-09 11:51:09 +03:00 |
Markus Richter
|
28679cf7c3
|
remove last expl[@] strings and replace them with the generic "$@"
|
2018-11-06 20:56:19 +01:00 |
Markus Richter
|
6eda4d8276
|
fix family/handle/table completion, remove uneccessary expl
|
2018-11-06 00:54:25 +01:00 |
Markus Richter
|
ecd02cf5ba
|
renamed file, documented some more functions
|
2018-11-05 16:37:10 +01:00 |