An interesting third-year option helped the Giants get Wilmer Flores' contract extension over the finish line.