25 lines
513 B
Plaintext
Raw Normal View History

# snownews(1) completion
have snownews || return
_snownews()
{
local cur prev words cword
_init_completion || return
2009-10-04 19:42:50 +02:00
if [[ "$cur" == -* ]]; then
# return list of available options
COMPREPLY=( $( compgen -W '--update --help --version \
--disable-versioncheck -u -h -V' -- "$cur"))
fi
2009-06-08 21:22:43 +03:00
} &&
complete -F _snownews snownews
# Local variables:
# mode: shell-script
2009-10-04 19:42:50 +02:00
# sh-basic-offset: 4
# sh-indent-comment: t
2009-10-04 19:42:50 +02:00
# indent-tabs-mode: nil
# End:
2009-10-04 19:42:50 +02:00
# ex: ts=4 sw=4 et filetype=sh