slackbuilds_ponce/office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion
Alexander Verbovetsky aba79c277e office/multivalent-tool-pdf: Added (PDF tools).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2016-11-02 22:53:12 +07:00

17 lines
537 B
Text

_multivalent-tool-pdf()
{
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="Compress Convert Decrypt Diff Embed Encrypt Extract Impose Info Markup Merge Repair Split Stamp Uncompact Uncompress Undo Validate"
if [[ $prev == "multivalent-tool-pdf" ]] ; then
COMPREPLY=( $(compgen -W "$opts" -- $cur) )
return 0
else
COMPREPLY=( $(compgen -f $cur) )
return 0
fi
}
complete -F _multivalent-tool-pdf multivalent-tool-pdf