Commit 07be119 authored and committed Jul 10, 2024
1 parent f0eb8a6 commit 07be119 Copy full SHA for 07be119
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 76
76
77
77
let args = Args :: parse_args ( ) . context ( "could not parse arguments" ) ?;
78
78
79
+ helix_loader:: initialize_config_file ( args. config_file . clone ( ) ) ;
80
+ helix_loader:: initialize_log_file ( args. log_file . clone ( ) ) ;
81
+
79
82
// Help has a higher priority and should be handled separately.
80
83
if args. display_help {
81
84
print ! ( "{}" , help) ;
@@ -109,9 +112,6 @@ FLAGS:
109
112
return Ok ( 0 ) ;
110
113
}
111
114
112
- helix_loader:: initialize_config_file ( args. config_file . clone ( ) ) ;
113
- helix_loader:: initialize_log_file ( args. log_file . clone ( ) ) ;
114
-
115
115
setup_logging ( args. verbosity ) . context ( "failed to initialize logging" ) ?;
116
116
117
117
let config = match Config :: load_default ( ) {
You can’t perform that action at this time.
0 commit comments