diff --git a/CHANGELOG.md b/CHANGELOG.md index 606fb18e..8e559c51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# Unreleased + +## Bugfixes + +- Drop stale `--display-offset` help text claim about negative values, see #112 (@eyupcanakman) + + # v0.17.0 ## Features diff --git a/doc/hexyl.1.md b/doc/hexyl.1.md index 08730ee4..496937d0 100644 --- a/doc/hexyl.1.md +++ b/doc/hexyl.1.md @@ -97,8 +97,6 @@ _FILE_ **-o**, **\--display-offset** _N_ : Add _N_ bytes to the displayed file position. The _N_ argument can also include a unit (see **\--length** for details). - A negative value is valid and calculates an offset relative to the end of - the file. **-h**, **\--help** : Prints help information. diff --git a/src/main.rs b/src/main.rs index 079a7c37..c0be7055 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,8 +46,7 @@ Examples: --block-size=1024, --block-size=4kB"; const DISPLAY_OFFSET_HELP_TEXT: &str = "Add N bytes to the displayed file position. The N \ argument can also include a unit (see `--length` for \ - details). -A negative value is valid and calculates an offset relative to the end of the file."; + details)."; const TERMINAL_WIDTH_HELP_TEXT: &str = "Sets the number of terminal columns to be displayed. Since the terminal width may not be an evenly divisible by the width per hex data column, this \