Add documentation for the --access-folder command line option

This commit is contained in:
Jonathan Bennett 2015-12-10 17:41:43 -06:00
parent a0c4acd31c
commit f7667239e6
2 changed files with 7 additions and 0 deletions

View File

@ -56,6 +56,11 @@ COMMAND-LINE OPTIONS
not given, 'fwknopd' will use the compile-time default location (typically not given, 'fwknopd' will use the compile-time default location (typically
'@sysconfdir@/fwknop/access.conf'). '@sysconfdir@/fwknop/access.conf').
*--access-folder*='<access-folder>'::
Specify the location of the 'access.conf' folder. If this option is
given, rather than load a single access.conf file, all the .conf
files in the given folders are processed.
*-c, --config*='<config-file>':: *-c, --config*='<config-file>'::
Specify the location of the 'fwknopd.conf' file. If this option is Specify the location of the 'fwknopd.conf' file. If this option is
not given, 'fwknopd' will use the default location (typically not given, 'fwknopd' will use the default location (typically

View File

@ -1395,6 +1395,8 @@ usage(void)
fprintf(stdout, fprintf(stdout,
"Usage: fwknopd [options]\n\n" "Usage: fwknopd [options]\n\n"
" -a, --access-file - Specify an alternate access.conf file.\n" " -a, --access-file - Specify an alternate access.conf file.\n"
" --access-folder - Specify an access.conf folder. All .conf\n"
" files in this folder will be processed.\n"
" -c, --config-file - Specify an alternate configuration file.\n" " -c, --config-file - Specify an alternate configuration file.\n"
" -f, --foreground - Run fwknopd in the foreground (do not become\n" " -f, --foreground - Run fwknopd in the foreground (do not become\n"
" a background daemon).\n" " a background daemon).\n"