summaryrefslogtreecommitdiffstats
path: root/completions/snownews
blob: 5b585d92486d2937038dcd2230df889b156b59a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# snownews(1) completion                                   -*- shell-script -*-

_snownews()
{
    local cur prev words cword
    _init_completion || return

    if [[ $cur == -* ]]; then
        # return list of available options
        COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
    fi
} &&
    complete -F _snownews snownews

# ex: filetype=sh