1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2025-02-02 15:08:00 -05:00

Fix -a option, Fixes #105

This commit is contained in:
Samuel Tyler 2024-12-29 11:42:28 +11:00
parent 4c8c45aed1
commit d5926c9d50

View File

@ -113,7 +113,7 @@ void parse_args(state *st, int argc, char *argv[])
case 'r': sstrlcpy(st->server_root, optarg); break;
case 't': st->default_filetype = *optarg; break;
case 'g': sstrlcpy(st->map_file, optarg); break;
case 'a': sstrlcpy(st->map_file, optarg); break;
case 'a': sstrlcpy(st->tag_file, optarg); break;
case 'c': sstrlcpy(st->cgi_file, optarg); break;
case 'u': sstrlcpy(st->user_dir, optarg); break;
case 'm': /* obsolete, replaced by -l */