From 0d62623c46a5d2d092ecbbe00c76ebcd8ca61275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Eckl?= Date: Mon, 6 Aug 2018 20:58:19 +0200 Subject: doc: fix syntax for RULES MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [] 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 --- doc/nft.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- cgit v1.2.3