Getopt skeleton.
Minor changes.