generated from PlexSheep/rs-base
Compare commits
No commits in common. "f9c164b21f3c087ffaa6cc73c22c393b733a8634" and "f4d7d6bc72aa0ccdd98738e37c754f4a69676182" have entirely different histories.
f9c164b21f
...
f4d7d6bc72
1 changed files with 7 additions and 4 deletions
|
@ -99,11 +99,14 @@ fn main() {
|
||||||
let mut config = Hedu::new(cli.chars, cli.skip, cli.show_identical, cli.limit);
|
let mut config = Hedu::new(cli.chars, cli.skip, cli.show_identical, cli.limit);
|
||||||
// FIXME: find a better way to get the file name
|
// FIXME: find a better way to get the file name
|
||||||
// Currently, skipped sources make an extra newline here.
|
// Currently, skipped sources make an extra newline here.
|
||||||
if config.chars {
|
match config.chars {
|
||||||
println!("{:─^80}", format!(" {} ", cli.data_source[i]));
|
false => {
|
||||||
} else {
|
|
||||||
println!("{:─^59}", format!(" {} ", cli.data_source[i]));
|
println!("{:─^59}", format!(" {} ", cli.data_source[i]));
|
||||||
}
|
}
|
||||||
|
true => {
|
||||||
|
println!("{:─^80}", format!(" {} ", cli.data_source[i]));
|
||||||
|
}
|
||||||
|
}
|
||||||
match config.dump(&mut **source) {
|
match config.dump(&mut **source) {
|
||||||
Ok(()) => (),
|
Ok(()) => (),
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
|
|
Reference in a new issue