Attempting to fix: OptionParser::InvalidOption: invalid option: --pattern