match type for getopt