src/bin/pxar.rs: only print archive name in verbose mode
This commit is contained in:
parent
6b9a071028
commit
aad2ee4947
@ -48,7 +48,7 @@ fn dump_archive(
|
||||
let mut reader = stdin.lock();
|
||||
dump_archive_from_reader(&mut reader, feature_flags, verbose)?;
|
||||
} else {
|
||||
println!("PXAR dump: {}", archive);
|
||||
if verbose { println!("PXAR dump: {}", archive); }
|
||||
let file = std::fs::File::open(archive)?;
|
||||
let mut reader = std::io::BufReader::new(file);
|
||||
dump_archive_from_reader(&mut reader, feature_flags, verbose)?;
|
||||
|
Loading…
Reference in New Issue
Block a user