get command line options

small bug getting the command line options

cheers