This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
stop_on_unknown_option?(command_name)
public
If true, option parsing is suspended as soon as an unknown option or a
regular argument is
encountered. All remaining arguments are
passed to the command as regular arguments.
# File lib/bundler/vendor/thor/lib/thor/base.rb, line 172
def stop_on_unknown_option?(command_name) #:nodoc:
false
end