[PATCH nft] doc: fix syntax for RULES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[] 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@xxxxxxxxx>
---
 doc/nft.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/nft.txt b/doc/nft.txt
index 20ae54b..7495296 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'
 
-- 
ecklm

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux