From 27e4cf73880b7103bffb747cdce8f9eb10e03b39 Mon Sep 17 00:00:00 2001 From: Ismo Puustinen Date: Wed, 28 Jun 2017 11:16:57 +0300 Subject: 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 --- doc/nft.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc/nft.xml') 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. -- cgit v1.2.3