getopt include, begin getopt logic