mirror of
https://github.com/gophernicus/gophernicus.git
synced 2025-06-30 22:18:49 -04:00
Fix -a option, Fixes #105
This commit is contained in:
parent
4c8c45aed1
commit
d5926c9d50
@ -113,7 +113,7 @@ void parse_args(state *st, int argc, char *argv[])
|
|||||||
case 'r': sstrlcpy(st->server_root, optarg); break;
|
case 'r': sstrlcpy(st->server_root, optarg); break;
|
||||||
case 't': st->default_filetype = *optarg; break;
|
case 't': st->default_filetype = *optarg; break;
|
||||||
case 'g': sstrlcpy(st->map_file, 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 'c': sstrlcpy(st->cgi_file, optarg); break;
|
||||||
case 'u': sstrlcpy(st->user_dir, optarg); break;
|
case 'u': sstrlcpy(st->user_dir, optarg); break;
|
||||||
case 'm': /* obsolete, replaced by -l */
|
case 'm': /* obsolete, replaced by -l */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user