22 lines
496 B
Bash

# -*- mode: shell-script; sh-basic-offset: 8; indent-tabs-mode: t -*-
# ex: ts=8 sw=8 et filetype=sh
#
# snownews completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
#
# $Id: snownews,v 1.2 2005/01/03 03:00:44 ianmacd Exp $
_snownews()
{
local cur
COMPREPLY=()
cur=`_get_cword`
if [[ "$cur" == -* ]]; then
# return list of available options
COMPREPLY=( $( compgen -W '--update --help --version \
--disable-versioncheck -u -h -V' -- $cur))
fi
}
complete -F _snownews snownews