XADMaster/Extra/lsar.bash_completion
2018-12-17 11:28:10 +02:00

16 lines
389 B
Text

__lsar()
{
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
opts="--long --verylong --test --password ---encoding --password-encoding \
--print-encoding --indexes --json --json-ascii --no-recursion --help \
--version"
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi
}
complete -o bashdefault -A file -F __lsar lsar