From: Simon Ruderich Date: Sun, 7 Mar 2021 09:51:34 +0000 (+0100) Subject: doc: add * to include example to actually include files X-Git-Tag: v0.9.9~106 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=29ca1ad33a8b82e7d51e9581359f17fec44b376e;p=thirdparty%2Fnftables.git 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 --- 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.