1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-01-07 01:17:56 +03:00
gpupdate/completions/gpoa

23 lines
496 B
Plaintext
Raw Permalink Normal View History

2024-02-09 12:52:19 +03:00
_gpoa()
{
local cur prev words cword split
_init_completion -s || return
case $prev in
--dc)
_filedir
return
;;
--loglevel)
COMPREPLY=($(compgen -W '0 1 2 3 4 5' -- "$cur"))
return
;;
*)
2024-08-09 11:05:14 +03:00
COMPREPLY=($(compgen -W '--dc --nodomain --noupdate --noplugins --list-backends --loglevel --help --force' -- "$cur"))
2024-02-09 12:52:19 +03:00
return
;;
esac
}
complete -F _gpoa gpoa