mirror of
https://github.com/MacPaw/XADMaster.git
synced 2025-08-29 19:43:47 +02:00
16 lines
389 B
Text
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
|
|
|