Grabs arguments to short and long options.