add --raw-cost and --hexdump flags to help text

This commit is contained in:
2023-08-25 19:42:59 +02:00
parent 7186188118
commit f647449497
2 changed files with 7 additions and 0 deletions

View File

@@ -40,6 +40,10 @@ The 16 bit dos unpacker also uses some variations. (`upkr --x86`)
-0, ..., -9 short form for setting compression level
-d, --decompress decompress infile
--heatmap calculate heatmap from compressed file
--raw-cost report raw cost of literals in heatmap
(the cost of literals is spread across all matches
that reference the literal by default.)
--hexdump print heatmap as colored hexdump
--margin calculate margin for overlapped unpacking of a packed file
When no infile is given, or the infile is '-', read from stdin.

View File

@@ -259,6 +259,9 @@ fn print_help(exit_code: i32) -> ! {
eprintln!(" -0, ..., -9 short form for setting compression level");
eprintln!(" -d, --decompress decompress infile");
eprintln!(" --heatmap calculate heatmap from compressed file");
eprintln!(" --raw-cost report raw cost of literals in heatmap");
#[cfg(feature = "crossterm")]
eprintln!(" --hexdump print heatmap as colored hexdump");
eprintln!(" --margin calculate margin for overlapped unpacking of a packed file");
eprintln!();
eprintln!("When no infile is given, or the infile is '-', read from stdin.");