Added the -r command-line argument.