# VERSION: 1.123370

commandlist='/opt/hgmods/monitoring/etc/montool/commandlist'

if [[ -f ${commandlist} ]]; then 
	montoolcommands=$(cat ${commandlist})
else
	montoolcommands='help version'
fi

_montool() 
{
        local curw
        COMPREPLY=()
        curw=${COMP_WORDS[COMP_CWORD]}
        COMPREPLY=($(compgen -W "${montoolcommands}" -- $curw))
        return 0
}
complete -F _montool -o default montool
