diff options
Diffstat (limited to '')
| -rw-r--r-- | CHANGELOG.md | 16 | ||||
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | doc/justify.1 | 2 |
3 files changed, 18 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 419cb08..e3e2b9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.1.1 - 2025-06-12 + +### Fixed + +- When a word was too long for the line buffer, it'd wrap to the next line + but it was missing a character. So 'abc123' with a line length of 3 was + resulting in 'abc\n23'. + +- When `-h` is used to show the usage information, the program was giving + back an exit code of 1 to indicate an error. It now gives back an exit + code of 0. + +- When `-w` was used with a value <= 0, the program would crash or do nothing. + Now, an exit code of 1 is given back because any value for `-w` is expected + to be positive. + ## [0.1.0] - 2025-06-30 - Initial Release diff --git a/CMakeLists.txt b/CMakeLists.txt index fb15628..904f5e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.29) -project(justify VERSION 0.1.0) +project(justify VERSION 0.1.1) include_directories(${CMAKE_SOURCE_DIR}/include) set(CMAKE_C_STANDARD 11) diff --git a/doc/justify.1 b/doc/justify.1 index e37f180..ef7f3e9 100644 --- a/doc/justify.1 +++ b/doc/justify.1 @@ -1,4 +1,4 @@ -.TH JUSTIFY 1 "July 2025" "justify 0.1.0" "User Commands" +.TH JUSTIFY 1 "July 2025" "justify 0.1.1" "User Commands" .SH NAME justify \- format and justify text to a specified line width .SH SYNOPSIS |