From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Cc: ismo.puustinen@intel.com, fw@strlen.de
Subject: [PATCH nft 1/2] doc: nft: describe -I override behaviour when path starts by ./ and /
Date: Wed, 7 Jun 2017 12:35:46 +0200 [thread overview]
Message-ID: <1496831747-9221-1-git-send-email-pablo@netfilter.org> (raw)
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
next reply other threads:[~2017-06-07 10:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-07 10:35 Pablo Neira Ayuso [this message]
2017-06-07 10:35 ` [PATCH nft 2/2] src: display default directory for file inclusion in -h/--help Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1496831747-9221-1-git-send-email-pablo@netfilter.org \
--to=pablo@netfilter.org \
--cc=fw@strlen.de \
--cc=ismo.puustinen@intel.com \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).