Disable error messages from getopt in macro