Lines Matching refs:config
50 # include <config.h>
117 {"config", required_argument, NULL, 'c'},
119 {"config-option", required_argument, NULL, 'O'},
130 static void setglobalflags (zconf_t *config)
132 recflag = config->recursive;
133 ageflag = config->printage;
134 timeflag = config->printtime;
135 ljustflag = config->ljust;
136 term = config->colorterm;
151 zconf_t *config;
159 config = loadconfig ("", (zconf_t *)NULL); /* load built in config */
160 if ( fileexist (defconfname) ) /* load default config file */
161 config = loadconfig (defconfname, config);
162 if ( config == NULL )
164 setglobalflags (config);
204 if ( fileexist (defconfname) ) /* load default config file */
205 config = loadconfig (defconfname, config);
206 if ( config == NULL )
208 setglobalflags (config);
211 config = loadconfig (optarg, config);
212 setglobalflags (config);
213 checkconfig (config);
216 config = loadconfig_fromstr (optarg, config);
217 setglobalflags (config);
218 checkconfig (config);
258 usage (str, config);
267 usage (str, config);
282 file = config->zonedir; /* use default directory */
296 usage ("", config);
326 sopt_usage ("\tusage: %s [-adefhkLprtzC] [-c config] [file|dir ...]\n", progname);
329 sopt_usage ("\tusage: %s -K [-dhkrz] [-c config] [file|dir ...]\n", progname);
330 lopt_usage ("\tusage: %s --list-dnskeys [-dhkzr] [-c config] [file|dir ...]\n", progname);
333 sopt_usage ("\tusage: %s -T [-dhrz] [-c config] [file|dir ...]\n", progname);
334 lopt_usage ("\tusage: %s --list-trustedkeys [-dhzr] [-c config] [file|dir ...]\n", progname);
338 fprintf (stderr, "\t-c file%s", loptstr (", --config=file\n", ""));
339 fprintf (stderr, "\t\t read config from <file> instead of %s\n", CONFIG_FILE);
340 fprintf (stderr, "\t-O optstr%s", loptstr (", --config-option=\"optstr\"\n", ""));
341 fprintf (stderr, "\t\t read config options from commandline\n");