diff options
| author | Danilo M. <danix@danix.xyz> | 2026-06-13 18:36:31 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-06-13 18:36:31 +0200 |
| commit | d4789701532c8acdfb4b109931e65e5e046871de (patch) | |
| tree | 1f8bc043687aa3e8fa079f95deee5a5e15036d79 /mkhint.bash-completion | |
| parent | d11b8be143998ea7349808b9e9da68139399aace (diff) | |
| parent | 8e6531764b00b29259fc59bd4e1f16e019bc3f2a (diff) | |
| download | mkhintfile-d4789701532c8acdfb4b109931e65e5e046871de.tar.gz mkhintfile-d4789701532c8acdfb4b109931e65e5e046871de.zip | |
Merge feat/nvchecker: nvchecker integration
- --new appends nvchecker [section] (github/pypi autodetect, else stub)
- --hintfile without -v suggests latest version via nvchecker
- --check/-C bulk update with per-package confirm + single slackrepo
- --check populate missing sections prompt
- fix: TOML-quote section names with non-bare-key chars
- fix: resolve relative keyfile path against config dir
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'mkhint.bash-completion')
| -rw-r--r-- | mkhint.bash-completion | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkhint.bash-completion b/mkhint.bash-completion index dee57e7..b786bc3 100644 --- a/mkhint.bash-completion +++ b/mkhint.bash-completion @@ -8,7 +8,7 @@ _mkhintfile_completions() { repo_dir="/var/lib/sbopkg/SBo-danix" hint_dir="/etc/slackrepo/SBo-danix/hintfiles" - local all_flags="--version -v --hintfile -f --new -n --list -l --clean -c --delete -d --no-dl -N --help -h" + local all_flags="--version -v --hintfile -f --new -n --list -l --clean -c --check -C --delete -d --no-dl -N --help -h" case "$prev" in --new|-n) @@ -18,7 +18,7 @@ _mkhintfile_completions() { done < <(find "$repo_dir" -mindepth 2 -maxdepth 2 -name "*.info" 2>/dev/null) COMPREPLY=($(compgen -W "${words[*]}" -- "$cur")) ;; - --hintfile|-f|--delete|-d) + --hintfile|-f|--delete|-d|--check|-C) local -a words=() for f in "$hint_dir"/*.hint; do [[ -f "$f" ]] && words+=("$(basename "${f%.hint}")") |
