mirror of
https://github.com/exoticorn/microw8.git
synced 2026-01-20 19:26:43 +01:00
slight improvement to packed size display
This commit is contained in:
@@ -167,7 +167,8 @@ fn load_cart(filename: &Path, config: &Config) -> (Result<Vec<u8>>, Vec<PathBuf>
|
|||||||
if let Some(ref pack_config) = config.pack {
|
if let Some(ref pack_config) = config.pack {
|
||||||
cart = uw8_tool::pack(&cart, pack_config)?;
|
cart = uw8_tool::pack(&cart, pack_config)?;
|
||||||
println!(
|
println!(
|
||||||
"\npacked size: {:.2} bytes",
|
"\npacked size: {} bytes ({:.2})",
|
||||||
|
cart.len(),
|
||||||
uw8_tool::compressed_size(&cart)
|
uw8_tool::compressed_size(&cart)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user