summaryrefslogtreecommitdiffstats
path: root/doc/nft.txt
diff options
context:
space:
mode:
authorMáté Eckl <ecklm94@gmail.com>2018-08-06 20:58:19 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-07 18:09:48 +0200
commit0d62623c46a5d2d092ecbbe00c76ebcd8ca61275 (patch)
treed25e00bbb6d1809130773767877698bacfc53dea /doc/nft.txt
parent300e9b3dcbd78e5f14831ccddcdcf7bd9a558127 (diff)
doc: fix syntax for RULES
[] means optional but 'add' or 'insert' is not optional one of them is required which is usually signed with {} braces. Signed-off-by: Máté Eckl <ecklm94@gmail.com> Acked-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/nft.txt')
-rw-r--r--doc/nft.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nft.txt b/doc/nft.txt
index 20ae54be..74952968 100644
--- a/doc/nft.txt
+++ b/doc/nft.txt
@@ -356,7 +356,7 @@ are *accept* (which is the default) or *drop*.
RULES
-----
[verse]
-[add | insert] *rule* ['family'] 'table' 'chain' [ {handle | position} 'handle' | index 'index' ] 'statement'...
+{add | insert} *rule* ['family'] 'table' 'chain' [ {handle | position} 'handle' | index 'index' ] 'statement'...
replace *rule* ['family'] 'table' 'chain' handle 'handle' 'statement'...
delete *rule* ['family'] 'table' 'chain' handle 'handle'