diff options
Diffstat (limited to 'lib/slop/error.rb')
-rw-r--r-- | lib/slop/error.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/slop/error.rb b/lib/slop/error.rb index e024645..ddfa1a7 100644 --- a/lib/slop/error.rb +++ b/lib/slop/error.rb @@ -22,8 +22,9 @@ module Slop end end - # Raised when an unknown option is parsed. Suppress - # with the `suppress_errors` config option. + # Raised when an unknown option is parsed or when trying to fetch an + # unexisting option via `Slop::Result#fetch`. + # Suppress with the `suppress_errors` config option. class UnknownOption < Error attr_reader :flag |