From 6c18848a903eb3ee06dccd915859ce64195c257c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 18:24:27 +0200 Subject: Adding upstream version 1:2.11. Signed-off-by: Daniel Baumann --- completions/rpmcheck | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 completions/rpmcheck (limited to 'completions/rpmcheck') diff --git a/completions/rpmcheck b/completions/rpmcheck new file mode 100644 index 0000000..cf4ed95 --- /dev/null +++ b/completions/rpmcheck @@ -0,0 +1,24 @@ +# bash completion for rpmcheck -*- shell-script -*- + +_rpmcheck() +{ + local cur prev words cword + _init_completion || return + + case $prev in + -base) + _filedir + return + ;; + esac + + if [[ $cur == -* ]]; then + COMPREPLY=($(compgen -W '-explain -failures -successes -dump + -dump-all -base -help -compressed-input' -- "$cur")) + else + _filedir + fi +} && + complete -F _rpmcheck rpmcheck + +# ex: filetype=sh -- cgit v1.2.3