mirror of
https://github.com/exoticorn/upkr.git
synced 2026-01-20 11:36:42 +01:00
add --raw-cost and --hexdump flags to help text
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user