From 29ca1ad33a8b82e7d51e9581359f17fec44b376e Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 7 Mar 2021 10:51:34 +0100 Subject: doc: add * to include example to actually include files "/etc/firewall/rules/" causes no error but also doesn't include any files contained in the directory. Signed-off-by: Simon Ruderich 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 32261e26..e4f32179 100644 --- a/doc/nft.txt +++ b/doc/nft.txt @@ -153,7 +153,7 @@ directory via the *-h*/*--help* option. + Include statements support the usual shell wildcard symbols (*,?,[]). Having no matches for an include statement is not an error, if wildcard symbols are used in the include statement. This allows having potentially empty include -directories for statements like **include "/etc/firewall/rules/"**. The wildcard +directories for statements like **include "/etc/firewall/rules/*"**. The wildcard matches are loaded in alphabetical order. Files beginning with dot (.) are not matched by include statements. -- cgit v1.2.3