From: Ismo Puustinen Date: Wed, 28 Jun 2017 08:16:57 +0000 (+0300) Subject: man: add include statement documentation. X-Git-Tag: v0.8~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27e4cf73880b7103bffb747cdce8f9eb10e03b39;p=thirdparty%2Fnftables.git man: add include statement documentation. Add to man page information about using the wildcard include statements. Signed-off-by: Ismo Puustinen Signed-off-by: Pablo Neira Ayuso --- diff --git a/doc/nft.xml b/doc/nft.xml index 970acb54..9c9192cf 100644 --- a/doc/nft.xml +++ b/doc/nft.xml @@ -229,8 +229,13 @@ vi:ts=4 sw=4 -h/--help option. - If the filename parameter is a directory, then all files in - the directory are loaded in alphabetical order. + 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 matches are + loaded in alphabetical order. Files beginning with dot (.) are + not matched by include statements.