|
|
@ -7,8 +7,7 @@ fn main() { |
|
|
|
let args: Vec<String> = env::args().collect(); |
|
|
|
let args: Vec<String> = env::args().collect(); |
|
|
|
let filename = &args[1]; |
|
|
|
let filename = &args[1]; |
|
|
|
let config = unreal_config::load_file(Path::new(filename)); |
|
|
|
let config = unreal_config::load_file(Path::new(filename)); |
|
|
|
match config { |
|
|
|
if let Ok(config) = config { |
|
|
|
Ok(config) => print!("{}", config), |
|
|
|
print!("{}", config); |
|
|
|
_ => (), |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|