Add a log-file command line option to the main program.