[tz] [PROPOSED 2/3] getopt returns -1 (not EOF) on failure