Randomly renamed options and buttons.

Stopped whinging about default config file not existing.
0.15pre2
This commit is contained in:
pdw
2003-10-20 21:41:53 +00:00
parent 458045923b
commit 6f80fb214d
9 changed files with 63 additions and 53 deletions

View File

@@ -518,11 +518,13 @@ int main(int argc, char **argv) {
pthread_t thread;
struct sigaction sa = {};
/* TODO: tidy this up */
/* read command line options and config file */
config_init();
options_set_defaults();
options_read_args(argc, argv);
read_config(options.config_file);
/* If a config was explicitly specified, whinge if it can't be found */
read_config(options.config_file, options.config_file_specified);
options_make();
sa.sa_handler = finish;