Update slapt-src completion
This commit is contained in:
parent
011f5ce1ba
commit
49c8d71418
@ -92,9 +92,9 @@ _slapt-src()
|
|||||||
_get_comp_words_by_ref cur prev
|
_get_comp_words_by_ref cur prev
|
||||||
|
|
||||||
if [[ "$cur" == -* ]]; then
|
if [[ "$cur" == -* ]]; then
|
||||||
COMPREPLY=( $( compgen -W '--update -u --list -l \
|
COMPREPLY=( $( compgen -W '--update -u --list -l --clean -e \
|
||||||
--search -s --show -w --install -i --build -b \
|
--search -s --show -w --install -i --build -b --fetch -f \
|
||||||
--fetch -f --yes -y --config -c --no-dep -n \
|
--yes -y --config -c --no-dep -n --postprocess -p \
|
||||||
--version -v --help -h' -- "$cur" ) )
|
--version -v --help -h' -- "$cur" ) )
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
@ -104,7 +104,7 @@ _slapt-src()
|
|||||||
_filedir
|
_filedir
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
--search)
|
--search|-s|--postprocess|-p)
|
||||||
# argument required but no completions available
|
# argument required but no completions available
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user