Allow --function to use salt outputter

Looks like I forgot one.