Handle command line parameters correctly.