getopt -> getopt_long. Added long options.