aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-04 09:29:44 +0200
committerDanilo M. <danix@danix.xyz>2026-07-04 09:29:44 +0200
commitd898f624bd3b03c99c1e889c1fb7e8fd68f033cf (patch)
tree11b6b874e24c6e6326eafc36302d7c0bab81254a /README.md
parent11d1c51b97ae830b591c51b874da01de90a083dc (diff)
downloadmkhintfile-d898f624bd3b03c99c1e889c1fb7e8fd68f033cf.tar.gz
mkhintfile-d898f624bd3b03c99c1e889c1fb7e8fd68f033cf.zip
feat: -l <pkg...> shows side-by-side hint vs .info
With package names, --list skips the table and shows each named hint diffed against its .info (git diff --no-index, else diff -y), missing hint exits 2. Diff display extracted to _show_hint_diff, shared with --review. Bash completion completes hint names after -l. Adds T58, T59. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6000693..18b24fd 100644
--- a/README.md
+++ b/README.md
@@ -105,6 +105,8 @@ When updating a hint with multiline DOWNLOAD, mkhint:
Lists each hint file with its `HintVer` (version in the hint) and `SBOVer` (version in the repository `.info`). Hints with no `VERSION` set (e.g. pure `DELREQUIRES` hints) are skipped. Version columns are wide enough for long version strings. Rows where the two are byte-equal are highlighted, so you can see at a glance which hints are now redundant with the upstream SBo version. Color is used only on a TTY; piped output is plain. A legend is printed when any row matched.
+With one or more package names (`-l foo bar`), the table is skipped; instead each named hint is shown side by side with its `.info` (`git diff --no-index` if git is available, otherwise `diff -y`). A missing hint exits 2.
+
```bash
mkhint --list
mkhint -l