aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/main.rs b/src/main.rs
index d53aaab..8ec3b77 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -45,11 +45,13 @@ async fn main() -> Result<()> {
std::process::exit(0);
}
- let mut cfg = if parsed_args.cfg_path.is_file() {
- BibiConfig::new(&parsed_args)?
- } else {
- BibiConfig::default()
- };
+ // let mut cfg = if parsed_args.cfg_path.is_file() {
+ // BibiConfig::new(&parsed_args)?
+ // } else {
+ // BibiConfig::default()
+ // };
+ let mut cfg = BibiConfig::default();
+ cfg.parse_config(&parsed_args)?;
init_error_hooks()?;