Update slapt-src completion

This commit is contained in:
Igor Murzov 2010-11-04 20:15:04 +03:00
parent 011f5ce1ba
commit 49c8d71418

View File

@ -92,9 +92,9 @@ _slapt-src()
_get_comp_words_by_ref cur prev
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '--update -u --list -l \
--search -s --show -w --install -i --build -b \
--fetch -f --yes -y --config -c --no-dep -n \
COMPREPLY=( $( compgen -W '--update -u --list -l --clean -e \
--search -s --show -w --install -i --build -b --fetch -f \
--yes -y --config -c --no-dep -n --postprocess -p \
--version -v --help -h' -- "$cur" ) )
return 0
fi
@ -104,7 +104,7 @@ _slapt-src()
_filedir
return 0
;;
--search)
--search|-s|--postprocess|-p)
# argument required but no completions available
return 0
;;