finish command line parameters