diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2021-03-11 07:38:00 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2021-03-20 11:19:37 +0100 |
commit | 3d9481177bab7b30ac1ccb9e4f64f4c672ef5c26 (patch) | |
tree | 23800bf7761839e7c127b01eb95fef0bdaee6818 /src/cnetz | |
parent | ca9d531643f704410e749ead0f06fde08cc4d6a5 (diff) |
Config file path can be changed by command line option "--config <path>"
Diffstat (limited to 'src/cnetz')
-rw-r--r-- | src/cnetz/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cnetz/main.c b/src/cnetz/main.c index 2d7d8d8..77459e1 100644 --- a/src/cnetz/main.c +++ b/src/cnetz/main.c @@ -479,7 +479,7 @@ int main(int argc, char *argv[]) /* handle options / config file */ add_options(); - rc = options_config_file("~/.osmocom/analog/cnetz.conf", handle_options); + rc = options_config_file(argc, argv, "~/.osmocom/analog/cnetz.conf", handle_options); if (rc < 0) return 0; argi = options_command_line(argc, argv, handle_options); |