mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Enable stdout output
This commit is contained in:
parent
a7adb7191e
commit
ba1c0aaaa4
4 changed files with 20 additions and 8 deletions
|
|
@ -223,12 +223,12 @@ impl Format {
|
|||
|
||||
pub fn visual_output(&self, dst: &Path) {
|
||||
info!(
|
||||
"Downloading {} to '{}'",
|
||||
"Downloading {} to {}",
|
||||
self.title,
|
||||
if is_special_file(&dst) {
|
||||
dst.to_str().unwrap()
|
||||
if is_special_file(&dst) || dst.to_str().unwrap() == "-" {
|
||||
dst.to_string_lossy().to_string()
|
||||
} else {
|
||||
dst.file_name().unwrap().to_str().unwrap()
|
||||
format!("'{}'", dst.to_str().unwrap())
|
||||
}
|
||||
);
|
||||
tab_info!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue