Add "-o" option to specify output file on command line.