From: Máté Eckl Date: Mon, 6 Aug 2018 18:58:19 +0000 (+0200) Subject: doc: fix syntax for RULES X-Git-Tag: v0.9.1~327 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d62623c46a5d2d092ecbbe00c76ebcd8ca61275;p=thirdparty%2Fnftables.git 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 Acked-by: Duncan Roe Signed-off-by: Pablo Neira Ayuso --- 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'