aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index a84cb4b..1b0a7d3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);