Commit dea51d70 authored by Daniel J. R. May's avatar Daniel J. R. May
Browse files

Swap reduction column order

parent e179b109
......@@ -27,10 +27,10 @@ can get a table of statistics about file size reductions by using the
xhtml-minimizer --verbose --output output input
Input | Output | Reduction
-------------------------------------------------------------------------------------
File | Size | File | Size | Size | %
File | Size | File | Size | % | Size
-------------------------------------------------------------------------------------
index.xhtml | 32131 | index.xhtml | 25555 | 6576 | 20.5
a.xhtml | 3025 | a.xhtml | 2589 | 436 | 14.4
b.xhtml | 8365 | b.xhtml | 7205 | 1160 | 13.9
index.xhtml | 32131 | index.xhtml | 25555 | 20.5 | 6576
a.xhtml | 3025 | a.xhtml | 2589 | 14.4 | 436
b.xhtml | 8365 | b.xhtml | 7205 | 13.9 | 1160
```
......@@ -141,7 +141,7 @@ fn print_file_size_statistics_table_header() {
println!("{:-<85}", "-");
println!(
"{: ^20}|{: ^10}|{: ^20}|{: ^10}|{: ^10}|{: ^10}",
"File", "Size", "File", "Size", "Size", "%"
"File", "Size", "File", "Size", "%", "Size"
);
println!("{:-<85}", "-");
}
......@@ -182,7 +182,7 @@ fn print_file_size_statistics_table_row(
println!(
"{: ^20}|{: ^10}|{: ^20}|{: ^10}|{: ^10}|{: ^10}",
input_filename, input_size, output_filename, output_size, reduction, percent_reduction,
input_filename, input_size, output_filename, output_size, percent_reduction, reduction
);
Ok(())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment