# munin-update completion -*- shell-script -*- proc _munin_update { var cur = '', prev = '', words = '', cword = '' _init_completion || return match $prev { with --config _filedir return 0 with --host _known_hosts_real $cur return 0 } if [[ "$cur" == -* ]] { setglobal COMPREPLY = '( '$( compgen -W '--force-root --noforce-root --service --host --config --help --debug --nodebug --fork --nofork --stdout --nostdout --timeout' -- "$cur" ) ) } } && complete -F _munin_update munin-update # ex: ts=4 sw=4 et filetype=sh