Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bin: offset should add to skip, not override it #119

Merged
merged 1 commit into from
Oct 31, 2020

Conversation

tommilligan
Copy link
Contributor

Closes #115

This PR aligns the behaviour of hexyl with xxd, when the --skip and --display-offset flags are both set.

Currently, --display-offset overrides --skip . In xxd, the two values are added together to produce the first address value.

Comparison of current hexyl and xxd behaviour.

@sharkdp sharkdp merged commit 524a6c6 into sharkdp:master Oct 31, 2020
@sharkdp
Copy link
Owner

sharkdp commented Oct 31, 2020

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Argument --display-offset overrides position in sidebar, not offsets it.
2 participants