All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] man: add include statement documentation.
@ 2017-06-28  8:16 Ismo Puustinen
  2017-06-28 15:36 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Ismo Puustinen @ 2017-06-28  8:16 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Ismo Puustinen

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

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
---
 doc/nft.xml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/doc/nft.xml b/doc/nft.xml
index 970acb5..9c9192c 100644
--- a/doc/nft.xml
+++ b/doc/nft.xml
@@ -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>
-- 
2.9.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] man: add include statement documentation.
  2017-06-28  8:16 [PATCH] man: add include statement documentation Ismo Puustinen
@ 2017-06-28 15:36 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2017-06-28 15:36 UTC (permalink / raw)
  To: Ismo Puustinen; +Cc: netfilter-devel

On Wed, Jun 28, 2017 at 11:16:57AM +0300, Ismo Puustinen wrote:
> Add to man page information about using the wildcard include statements.

Applied, thanks Ismo!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-28 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-28  8:16 [PATCH] man: add include statement documentation Ismo Puustinen
2017-06-28 15:36 ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.