finish command line options