diff --git a/README.md b/README.md index 2232d9c..9e3121d 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/main.rs b/src/main.rs index c876e43..ba4aff7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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.");