mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-04-19 19:56:50 +00:00
Print info_xml content if using diff sub command
This commit is contained in:
parent
1e553aad58
commit
0b0188bd30
@ -157,6 +157,22 @@ impl OnkostarEditor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn print_diff(&mut self, other: &mut Self, strict: bool) {
|
pub fn print_diff(&mut self, other: &mut Self, strict: bool) {
|
||||||
|
println!();
|
||||||
|
|
||||||
|
println!(
|
||||||
|
"Datei A wurde am {} mit {} in Version {} erstellt.",
|
||||||
|
style(&self.info_xml.datum_xml).yellow(),
|
||||||
|
style(&self.info_xml.name).yellow(),
|
||||||
|
style(&self.info_xml.version).yellow()
|
||||||
|
);
|
||||||
|
|
||||||
|
println!(
|
||||||
|
"Datei B wurde am {} mit {} in Version {} erstellt.",
|
||||||
|
style(&other.info_xml.datum_xml).yellow(),
|
||||||
|
style(&other.info_xml.name).yellow(),
|
||||||
|
style(&other.info_xml.version).yellow()
|
||||||
|
);
|
||||||
|
|
||||||
self.sorted();
|
self.sorted();
|
||||||
other.sorted();
|
other.sorted();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user