change command line opts to longopts