Parse arguments with getopt