16 lines
380 B
Bash
16 lines
380 B
Bash
# 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: ts=4 sw=4 et filetype=sh
|