_wallch() 
{
    local cur prev opts
    COMPREPLY=()
    cur="${COMP_WORDS[COMP_CWORD]}"
    prev="${COMP_WORDS[COMP_CWORD-1]}"
    opts="--picofday --picofday_w8 --constant --pause --next --previous --once --constant --earth --earth_w8 --earth_unity --picofday --picofday_w8 --stop --help"

    if [[ ${cur} == -* ]] ; then
        COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
        return 0
    fi
}
complete -F _wallch wallch
