diff options
| author | Danilo M. <danix@danix.xyz> | 2026-06-27 10:04:31 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-06-27 10:04:31 +0200 |
| commit | 4e95204db83c4019b4e29eaf6221bbda79fd0e2f (patch) | |
| tree | 8fed5c816567d3b90ab734d7ab5dfe5c023c06d2 /README.md | |
| parent | 33b0c2d99f0336b961c5da5d4dfae9f6dfefd494 (diff) | |
| download | mkhintfile-4e95204db83c4019b4e29eaf6221bbda79fd0e2f.tar.gz mkhintfile-4e95204db83c4019b4e29eaf6221bbda79fd0e2f.zip | |
docs: document -R <pkg...> named-hint review in README
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -108,18 +108,19 @@ mkhint --list mkhint -l ``` -### Review matched hint files +### Review hint files -Iterates only the matched (highlighted) hints from `--list` — those whose version equals the SBo `.info` version. For each, it shows the hint side by side with its `.info` (`git diff --no-index` if git is available, otherwise `diff -y`), then prompts `[K]eep / [D]elete / [S]kip` (default Keep). Delete removes the hint and its `.bak`. A deleted/kept summary is printed at the end. +With no arguments, iterates only the matched (highlighted) hints from `--list` — those whose version equals the SBo `.info` version. With explicit package names (`-R foo bar`), reviews each named hint regardless of version match; a missing hint exits 2. For each, it shows the hint side by side with its `.info` (`git diff --no-index` if git is available, otherwise `diff -y`), then prompts `[K]eep / [D]elete / [S]kip` (default Keep). Delete removes the hint and its `.bak`. A summary counting the hints actually reviewed is printed at the end. ```bash mkhint --review mkhint -R +mkhint -R foo bar # review the named hints, any version mkhint --list --review # show the highlighted table first, then review mkhint -lR # same, combined ``` -If no hints match, it prints "nothing to review" and exits 0. +With no arguments and no hints matching, it prints "nothing to review" and exits 0. ### Delete a hint file |
