]> Kevux Git Server - fll/commit
Bugfix: Fix handling of --line when not using --whole.
authorKevin Day <Kevin@kevux.org>
Tue, 10 Dec 2024 03:34:41 +0000 (21:34 -0600)
committerKevin Day <Kevin@kevux.org>
Tue, 10 Dec 2024 03:42:09 +0000 (21:42 -0600)
commite7c0c8c4e8b969e169a5a9a28ae05119a6127b4c
tree1bb5f14b1e766e51f41acaab96b1dc575fe1f198
parentfde7fdd4a264dc9e52e0bbfc9721473df64bcc88
Bugfix: Fix handling of --line when not using --whole.

The function `iki_read_process_at()` is incorrectly named and should instead be called `iki_read_process_line()`.

The `--object`, `--content`, and `--literal` parameters with `--line` should print the line number for the output of those commands raather than the output of the file.
The printing of the line from the original file is very confusing and so I am considering this a bug.

Update the print help message.
level_3/iki_read/c/iki_read.c
level_3/iki_read/c/private-read.c
level_3/iki_read/c/private-read.h