mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-26 20:16:31 +00:00
Better error message when seek fails
> hexyl "$(which hexyl)" --skip=-5gib
Error: Failed to jump to the desired input position. This could be
caused by a negative offset that is too large or by an input that is not
seek-able (e.g. if the input comes from a pipe).
ref: #114
This commit is contained in:
1 parent
66f8508b57
commit
8c3f2230c6
4 files changed
+119
-7
No files matched your search
+2
-1
@@ -23,7 +23,8 @@ default-features = false
|
||||
features = ["suggestions", "color", "wrap_help"]
|
||||
|
||||
[dev-dependencies]
|
||||
assert_cmd = "1.0.1"
|
||||
assert_cmd = "1.0"
|
||||
predicates = "1.0"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
||||
Reference in new issue
Block a user