diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1085,7 +1085,7 @@ int main(int argc, char *argv[]) able to only transfer the new files, maybe using rsync. */ }; const int toplevel_command_count = sizeof(toplevel_commands) / sizeof(struct ftag_command); - const char* config_file = NULL; + char* config_file = NULL; const char *optstring = "c:h"; int opt; @@ -1109,8 +1109,10 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } -#error "Resume here, read the config file before doing anything" + ftag_config_init(config_file); parse_args(argc-1, argv+1, toplevel_commands, toplevel_command_count); + + ftag_config_finalize(); return EXIT_SUCCESS; } |
