blob: d7d03486d8f88e7f2b40b84c38e165ab9d1f9d46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# bash completion for rpmcheck -*- shell-script -*-
_comp_cmd_rpmcheck()
{
local cur prev words cword comp_args
_comp_initialize -- "$@" || return
case $prev in
-base)
_comp_compgen_filedir
return
;;
esac
if [[ $cur == -* ]]; then
_comp_compgen -- -W '-explain -failures -successes -dump -dump-all
-base -help -compressed-input'
else
_comp_compgen_filedir
fi
} &&
complete -F _comp_cmd_rpmcheck rpmcheck
# ex: filetype=sh
|