aboutsummaryrefslogtreecommitdiffstats
path: root/src/zeitansage/main.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2021-03-11 07:38:00 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2021-03-20 11:19:37 +0100
commit3d9481177bab7b30ac1ccb9e4f64f4c672ef5c26 (patch)
tree23800bf7761839e7c127b01eb95fef0bdaee6818 /src/zeitansage/main.c
parentca9d531643f704410e749ead0f06fde08cc4d6a5 (diff)
Config file path can be changed by command line option "--config <path>"
Diffstat (limited to 'src/zeitansage/main.c')
-rw-r--r--src/zeitansage/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zeitansage/main.c b/src/zeitansage/main.c
index 8ef154c..a77d9bd 100644
--- a/src/zeitansage/main.c
+++ b/src/zeitansage/main.c
@@ -82,7 +82,7 @@ int main(int argc, char *argv[])
/* handle options / config file */
add_options();
- rc = options_config_file("~/.osmocom/analog/zeitansage.conf", handle_options);
+ rc = options_config_file(argc, argv, "~/.osmocom/analog/zeitansage.conf", handle_options);
if (rc < 0)
return 0;
argi = options_command_line(argc, argv, handle_options);