From ef6a2f672470364292d241155bd9827cb9e3077e Mon Sep 17 00:00:00 2001 From: Steve Cook Date: Mon, 18 Jul 2022 10:38:27 -0400 Subject: [PATCH] Revert println! to eprintln! --- src/lib.rs | 2 +- src/main.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 392b47b..732f745 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -292,7 +292,7 @@ pub fn build_3dsx(config: &CTRConfig) { // If romfs directory exists, automatically include it let (romfs_path, is_default_romfs) = get_romfs_path(config); if romfs_path.is_dir() { - println!("Adding RomFS from {}", romfs_path.display()); + eprintln!("Adding RomFS from {}", romfs_path.display()); process = process.arg(format!("--romfs={}", romfs_path.to_string_lossy())); } else if !is_default_romfs { eprintln!( diff --git a/src/main.rs b/src/main.rs index cda6c62..2df44b9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,17 +24,17 @@ fn main() { return; } - println!("Getting metadata"); + eprintln!("Getting metadata"); let app_conf = get_metadata(&messages); - println!("Building smdh:{}", app_conf.path_smdh().display()); + eprintln!("Building smdh:{}", app_conf.path_smdh().display()); build_smdh(&app_conf); - println!("Building 3dsx: {}", app_conf.path_3dsx().display()); + eprintln!("Building 3dsx: {}", app_conf.path_3dsx().display()); build_3dsx(&app_conf); if should_link { - println!("Running 3dslink"); + eprintln!("Running 3dslink"); link(&app_conf); } }