netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nft 1/2] doc: nft: describe -I override behaviour when path starts by ./ and /
@ 2017-06-07 10:35 Pablo Neira Ayuso
  2017-06-07 10:35 ` [PATCH nft 2/2] src: display default directory for file inclusion in -h/--help Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Neira Ayuso @ 2017-06-07 10:35 UTC (permalink / raw)
  To: netfilter-devel; +Cc: ismo.puustinen, fw

You can override -I by starting your path either using ./ for relative
paths and / for absolute paths.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
 doc/nft.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/doc/nft.xml b/doc/nft.xml
index 9364133f1787..f93baa03d721 100644
--- a/doc/nft.xml
+++ b/doc/nft.xml
@@ -207,7 +207,10 @@ vi:ts=4 sw=4
 			<para>
 				Other files can be included by using the <command>include</command> statement.
 				The directories to be searched for include files can be specified using
-				the <option>-I/--includepath</option> option.
+				the <option>-I/--includepath</option> option. You can override this behaviour
+				either by prepending ./ to your path to force inclusion of files located in the
+				current working directory (ie. relative path) or / for file location expressed
+				as an absolute path.
 			</para>
 			<para>
 				If the <literal>filename</literal> parameter is a directory, then all files in
-- 
2.1.4


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

end of thread, other threads:[~2017-06-07 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-07 10:35 [PATCH nft 1/2] doc: nft: describe -I override behaviour when path starts by ./ and / Pablo Neira Ayuso
2017-06-07 10:35 ` [PATCH nft 2/2] src: display default directory for file inclusion in -h/--help Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).