mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
add OpenBSD pfctl completion
This commit is contained in:
parent
bfd2885279
commit
53e08cd0d6
1 changed files with 32 additions and 0 deletions
32
share/completions/pfctl.fish
Normal file
32
share/completions/pfctl.fish
Normal file
|
@ -0,0 +1,32 @@
|
|||
complete -c pfctl -s s --description 'Show a filter parameter by modifier' -xa \
|
||||
'queue\t"Show loaded queue definitions" \
|
||||
rules\t"Show loaded filter rules" \
|
||||
Anchors\t"Show anchors attached to main ruleset" \
|
||||
states\t"Show state table"
|
||||
Sources\t"Show source tracking table" \
|
||||
info\t"Show filter information" \
|
||||
labels\t"Show stats of labeled filter rules" \
|
||||
timeouts\t"Show global timeouts" \
|
||||
memory\t"Show pool memory hard limits" \
|
||||
Tables\t"Show the list of tables" \
|
||||
osfp\t"Show a list of OS fingerprints" \
|
||||
Interfaces\t"List PF interfaces/drivers" \
|
||||
all\t"Everything."'
|
||||
complete -c pfctl -s F --description 'Flush filter params specified by mod' -xa \
|
||||
'rules\t"Flush filter rules" \
|
||||
states\t"Flush state table" \
|
||||
Sources\t"Flush source tracking table" \
|
||||
info\t"Flush filter information" \
|
||||
Tables\t"Flush the tables" \
|
||||
ospf\t"Flush the passive OS fingerprints" \
|
||||
all\t"Flush everything"'
|
||||
complete -c pfctl -s T --description 'Table command' -xa \
|
||||
'kill\t"Kill a table." \
|
||||
flush\t"Flush addresses of a table" \
|
||||
add\t"Add one or more addresses in table" \
|
||||
delete\t"Delete one or more addresses from a table" \
|
||||
expire\t"Delete addresses where stats cleared > N seconds" \
|
||||
replace\t"Replace the addresses of the table" \
|
||||
show\t"Show the contents of a table" \
|
||||
test\t"Test if the given addresses match a table" \
|
||||
zero\t"Clear all the stats of a table"'
|
Loading…
Reference in a new issue