diff options
Diffstat (limited to 'lib/getoptlong.rb')
-rw-r--r-- | lib/getoptlong.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getoptlong.rb b/lib/getoptlong.rb index 98a73ae3db..a37714cafd 100644 --- a/lib/getoptlong.rb +++ b/lib/getoptlong.rb @@ -75,7 +75,7 @@ class GetoptLong # # Whether error messages are output to stderr. # - @quiet_flag = FALSE + @quiet = FALSE # # Status code. @@ -259,7 +259,7 @@ class GetoptLong # Set an error (protected). # def set_error(type, message) - $stderr.print("#{$0}: #{message}\n") if !@quiet_flag + $stderr.print("#{$0}: #{message}\n") if !@quiet @error = type @error_message = message |