bin: offset should add to skip, not override it

This commit is contained in:
Tom Milligan authored and David Peter committed 2020-10-31 10:00:03 +01:00
1 parent d69a7d8e04
commit 524a6c607f
3 files changed
+25 -4

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
# unreleased
## Changes
- Breaking change (binary): setting the `-o/--display-offset` flag no longer overrides the value set by `--skip` [#115](https://github.com/sharkdp/hexyl/issues/115). The first displayed address is now the sum of the two values - this matches the behaviour of `xxd`.
## Features
- Allow relative and negative byte offsets (e.g. `hexyl --skip=-1block`), see #99 (@ErichDonGubler)