diff options
| author | Tristan Riehs <tristan.riehs@inria.fr> | 2026-06-07 15:16:26 +0200 |
|---|---|---|
| committer | Tristan Riehs <tristan.riehs@inria.fr> | 2026-06-07 15:16:26 +0200 |
| commit | 9f0b0355e8836a79dc1031f18744ff1945991981 (patch) | |
| tree | 31e97eed77fe50460381e2f3290007884707f5f6 | |
| parent | e40057de81b6fcc3d884d72cbbbe54d9177b4de5 (diff) | |
Fix call to parse_args after option parsing
| -rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1111,7 +1111,7 @@ int main(int argc, char *argv[]) ftag_config_init(config_file); - parse_args(argc-1, argv+1, toplevel_commands, toplevel_command_count); + parse_args(argc - optind, argv + optind, toplevel_commands, toplevel_command_count); ftag_config_finalize(); return EXIT_SUCCESS; |
