diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1085,18 +1085,18 @@ 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); - char* config_file = NULL; + const char *config_file = NULL; const char *optstring = "c:h"; int opt; while ((opt = getopt(argc, argv, optstring)) != -1) { switch (opt) { - case 'h': - ftag_help(0, NULL); - exit(EXIT_SUCCESS); case 'c': config_file = optarg; break; + case 'h': + ftag_help(0, NULL); + exit(EXIT_SUCCESS); case'?': default: ftag_help(0, NULL); |
