aboutsummaryrefslogtreecommitdiffstats
path: root/mkhint.bash-completion
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-06-13 18:36:31 +0200
committerDanilo M. <danix@danix.xyz>2026-06-13 18:36:31 +0200
commitd4789701532c8acdfb4b109931e65e5e046871de (patch)
tree1f8bc043687aa3e8fa079f95deee5a5e15036d79 /mkhint.bash-completion
parentd11b8be143998ea7349808b9e9da68139399aace (diff)
parent8e6531764b00b29259fc59bd4e1f16e019bc3f2a (diff)
downloadmkhintfile-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-completion4
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}")")