From 1e96c04de4986633f5d956dbc7299b2ff34e5ca4 Mon Sep 17 00:00:00 2001 From: Paul Dino Jones Date: Mon, 7 Apr 2025 10:48:56 -0400 Subject: [PATCH] add -c for specified config file option --- src/monocoque/helper/parameters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monocoque/helper/parameters.c b/src/monocoque/helper/parameters.c index 0db1c13..996cd8d 100644 --- a/src/monocoque/helper/parameters.c +++ b/src/monocoque/helper/parameters.c @@ -61,7 +61,7 @@ ConfigError getParameters(int argc, char** argv, Parameters* p) struct arg_rex* cmd1 = arg_rex1(NULL, NULL, "play", NULL, REG_ICASE, NULL); struct arg_lit* arg_udp = arg_lit0("d", "udp", "force udp mode for sims which support it"); - struct arg_file* arg_conf = arg_filen(NULL, "uiconf", "", 0, 1, NULL); + struct arg_file* arg_conf = arg_file0("c", "uiconf", "", NULL); struct arg_file* arg_log = arg_filen("l", "log", "", 0, 1, NULL); struct arg_str* arg_confdir = arg_strn(NULL, "configdir", "config_dir>", 0, 1, NULL); struct arg_int* arg_fps = arg_int0("f", "fps", "fps", "main data refresh rate");