Update getopt usage not to use getopt.Option constructor

To match stdlib git (which will be release 34).