Restored getopt() temporarily.