Config file path can be changed by command line option "--config <path>"
This commit is contained in:
@@ -134,7 +134,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
/* handle options / config file */
|
||||
add_options();
|
||||
rc = options_config_file("~/.osmocom/analog/jollycom.conf", handle_options);
|
||||
rc = options_config_file(argc, argv, "~/.osmocom/analog/jollycom.conf", handle_options);
|
||||
if (rc < 0)
|
||||
return 0;
|
||||
argi = options_command_line(argc, argv, handle_options);
|
||||
|
Reference in New Issue
Block a user