-o --output

-o filename or --output filename writes all query output into file filename. This is equivalent to the vsql meta-command \o.