Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
raspi authored Jan 21, 2020
1 parent 8ae0fcd commit 74a105d
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,33 @@
Hex dumper with colors

```
heksa - hex file dumper v1.9.0 - (2020-01-02T07:55:55+02:00)
heksa - hex file dumper v1.11.0 - (2020-01-18T19:33:11+02:00)
(c) Pekka Järvinen 2019- [ https://github.com/raspi/heksa ]
SYNOPSIS:
heksa [--format|-f <fmt1,fmt2,..>] [--header|-H] [--help|-h|-?]
[--limit|-l <[prefix]bytes>] [--offset-format|-o <fmt1[,fmt2]>]
[--seek|-s <[prefix]offset>] [--version] <filename> or STDIN
heksa [--format|-f <fmt1,fmt2,..>] [--help|-h|-?]
[--limit|-l <[prefix]bytes[unit]>] [--offset-format|-o <fmt1[,fmt2]>]
[--seek|-s <[prefix]offset[unit]>] [--version] <filename> or STDIN
OPTIONS:
--format|-f <fmt1,fmt2,..> One or multiple of: hex, dec, oct, bit (default: "hex,asc")
--header|-H Show offset header (default: false)
--format|-f <fmt1,fmt2,..> One or multiple of: asc, bit, bitwasc, bitwdec, bitwhex, dec, decwasc, hex, hexwasc, oct (default: "hex,asc")
--help|-h|-? Show this help (default: false)
--limit|-l <[prefix]bytes> Read only N bytes (0 = no limit). See NOTES. (default: "0")
--limit|-l <[prefix]bytes[unit]> Read only N bytes (0 = no limit). See NOTES. (default: "0")
--offset-format|-o <fmt1[,fmt2]> One or two of: hex, dec, oct, per, no, ''. First one is displayed on the left side and second one on right side after formatters (default: "hex")
--offset-format|-o <fmt1[,fmt2]> One or two of: dec, hex, oct, per, no, ''.
First one is displayed on the left side and second one on right side after formatters. (default: "hex")
--seek|-s <[prefix]offset> Start reading from certain offset. See NOTES. (default: "0")
--seek|-s <[prefix]offset[unit]> Start reading from certain offset. See NOTES. (default: "0")
--version Show version information (default: false)
NOTES:
- You can use prefixes for seek and limit. 0x = hex, 0b = binary, 0o = octal.
- Use 'no' or '' for offset formatter for disabling offset output.
- You can use prefixes for seek and limit. 0x = hex, 0b = binary, 0o = octal
- Use 'no' or '' for offset formatter for disabling offset output
- Use '--seek \-[prefix]1000' for seeking to end of file
- Offset and seek parameters supports units (KB, KiB, MB, MiB, GB, GiB, TB, TiB)
EXAMPLES:
heksa -f hex,asc,bit foo.dat
Expand All @@ -42,6 +44,7 @@ EXAMPLES:
heksa -o no -f bit foo.dat
heksa -l 0x1024 foo.dat
heksa -s 0b1010 foo.dat
heksa -s 4321KiB foo.dat
```

![Screenshot](https://github.com/raspi/heksa/blob/master/_assets/screenshot2.png)
Expand Down

0 comments on commit 74a105d

Please sign in to comment.