diff options
| author | Joe Carstairs <me@joeac.net> | 2026-09-04 19:16:41 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-09-04 19:16:41 +0100 |
| commit | 6c8996a765a8714bf3fb67eefa08fbc260c88c90 (patch) | |
| tree | da00bdf0da34bda99678cdcc6d592b03fd0c79d6 /src/main.rs | |
| parent | 5270c5c73fc9e843b922f1e12b81c3c78d7e8a26 (diff) | |
default config file location in
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index b445285..e56726a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,7 +16,7 @@ fn main() { let args = Args::parse(); let _config = match args.config_file.as_str() { "" => Config::find_config().unwrap_or_else(|| - panic!("Failed to find config. Paths searched: {:#?}", config::DEFAULT_CONFIG_FILE_LOCATIONS)), + panic!("Failed to find config. Paths searched: {:#?}", config::default_config_file_locations())), path => Config::parse_config_file_at_path(&path).unwrap_or_else(|err| panic!("Failed to parse config at {}. Error: {}", path, err)), }; |
