aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-06-05 10:21:27 +0200
committerDanilo M. <danix@danix.xyz>2026-06-05 10:21:27 +0200
commit8284ac7c6948ffcb43a43eab7ef1ec50cbb6e820 (patch)
tree5c4da1c0500700e5eaec7a2a10878aef4444f207 /README.md
parent9f1ad23a187a493ffa812064e6641061553e6386 (diff)
downloadmkhintfile-8284ac7c6948ffcb43a43eab7ef1ec50cbb6e820.tar.gz
mkhintfile-8284ac7c6948ffcb43a43eab7ef1ec50cbb6e820.zip
feat(completion): suggest current VERSION when completing -v
When -f <package> is already on the command line, -v [TAB] reads VERSION from the existing hint file and offers it as the only completion candidate. No hint file = no suggestion. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4ffdbca..e2fb4a3 100644
--- a/README.md
+++ b/README.md
@@ -142,4 +142,4 @@ mkhint -h
- Hint files are backed up to `.bak` before any modification.
- If DOWNLOAD or DOWNLOAD_x86_64 is `UNSUPPORTED` or `UNTESTED`, that URL is skipped and its MD5SUM is left unchanged.
- `--no-dl` / `-N` does **not** skip downloads — it downloads and recalculates checksums as normal, then appends `NODOWNLOAD=yes` to the hint file.
-- Bash completion for `-f`/`--hintfile`, `-n`/`--new`, and `-d`/`--delete` autocompletes package names from their respective directories. Short flags (`-v`, `-f`, `-n`, `-l`, `-c`, `-d`, `-N`, `-h`) are also completed.
+- Bash completion for `-f`/`--hintfile`, `-n`/`--new`, and `-d`/`--delete` autocompletes package names from their respective directories. When `-f <package>` is already on the command line, `-v [TAB]` suggests the current `VERSION` from that package's hint file. If the hint file is absent, no version is suggested. Short flags (`-v`, `-f`, `-n`, `-l`, `-c`, `-d`, `-N`, `-h`) are also completed.