From d0bbdb431e34521f30508dc98d8f8b141baafd3b Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 13 Jun 2026 17:29:48 +0200 Subject: feat(completion): add --check/-C flag and package-name completion Co-Authored-By: Claude Opus 4.8 --- mkhint.bash-completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mkhint.bash-completion') 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}")") -- cgit v1.2.3