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

_comp_cmd_snownews()
{
    local cur prev words cword comp_args
    _comp_initialize -- "$@" || return

    if [[ $cur == -* ]]; then
        # return list of available options
        _comp_compgen_help
    fi
} &&
    complete -F _comp_cmd_snownews snownews

# ex: filetype=sh