Skip to contentSkip to conversation

man: add include statement documentation.

PATCH Applied Ismo Puustinen 2 participants 2 messages Jun 28, 2017 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 man: add include statement documentation.

Add to man page information about using the wildcard include statements.

---
 doc/nft.xml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
doc/nft.xml +7 -2
index 970acb5..9c9192c 100644
@@ -229,8 +229,13 @@ vi:ts=4 sw=4
 				-h/--help option.
 			</para>
 			<para>
-				If the <literal>filename</literal> parameter is a directory, then all files in
-				the directory are loaded in alphabetical order.
+				Include statements support the usual shell wildcard symbols
+				(<literal>*,?,[]</literal>). 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
+				<literal>include "/etc/firewall/rules/*"</literal>. The wildcard matches are
+				loaded in alphabetical order. Files beginning with dot (<literal>.</literal>) are
+				not matched by include statements.
 			</para>
 		</refsect2>
 		<refsect2>
Signature · 1 line
2.9.4
maintainer Applied
#1 lore raw
Quoted 1 line · Ismo Puustinen

Add to man page information about using the wildcard include statements.

Applied, thanks Ismo!