complete -o functionality