diff options
-rw-r--r-- | doc/nft.xml | 5 | ||||
-rw-r--r-- | src/main.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/doc/nft.xml b/doc/nft.xml index f93baa03..faf0ffde 100644 --- a/doc/nft.xml +++ b/doc/nft.xml @@ -213,6 +213,11 @@ vi:ts=4 sw=4 as an absolute path. </para> <para> + If -I/--includepath is not specified, then nft relies on the default directory + that is specified at compile time. You can retrieve this default directory via + -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. </para> @@ -125,12 +125,12 @@ static void show_help(const char *name) " -s, --stateless Omit stateful information of ruleset.\n" " -N Translate IP addresses to names.\n" " -a, --handle Output rule handle.\n" -" -I, --includepath <directory> Add <directory> to the paths searched for include files.\n" +" -I, --includepath <directory> Add <directory> to the paths searched for include files. Default is: %s\n" #ifdef DEBUG " --debug <level [,level...]> Specify debugging level (scanner, parser, eval, netlink, mnl, proto-ctx, segtree, all)\n" #endif "\n", - name); + name, DEFAULT_INCLUDE_PATH); } #ifdef DEBUG |