changed separator

This commit is contained in:
DastInDark
2022-09-09 12:03:19 +09:00
parent 4c7158d5e8
commit 0482d73d18

View File

@@ -297,14 +297,14 @@ fn create_recordinfos(record: &Value) -> String {
let summary: Vec<String> = output let summary: Vec<String> = output
.iter() .iter()
.map(|(key, value)| format!("{}:{}", key, value)) .map(|(key, value)| format!("{}: {}", key, value))
.collect(); .collect();
// 標準出力する時はセルがハイプ区切りになるので、パイプ区切りにしない // 標準出力する時はセルがハイプ区切りになるので、パイプ区切りにしない
if configs::CONFIG.read().unwrap().args.output.is_some() { if configs::CONFIG.read().unwrap().args.output.is_some() {
summary.join(" | ") summary.join(" ")
} else { } else {
summary.join(" ") summary.join("")
} }
} }