class Optimist::Parser
def stop_on_unknown
# cases where you don't know the set of subcommands ahead of time,
# (unless it is a parameter for an argument). This is useful for
# Similar to #stop_on, but stops on any unknown word when encountered
def stop_on_unknown @stop_on_unknown = true end