Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/getoptlong.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class MissingArgument < Error; end
class InvalidOption < Error; end

#
# Set up option processing.
# \Set up option processing.
#
# The options to support are passed to new() as an array of arrays.
# Each sub-array contains any number of String option names which carry
Expand Down Expand Up @@ -190,7 +190,7 @@ def initialize(*arguments)
end

#
# Set the handling of the ordering of options and arguments.
# \Set the handling of the ordering of options and arguments.
# A RuntimeError is raised if option processing has already started.
#
# The supplied value must be a member of GetoptLong::ORDERINGS. It alters
Expand Down Expand Up @@ -267,7 +267,7 @@ def ordering=(ordering)
attr_reader :ordering

#
# Set options. Takes the same argument as GetoptLong.new.
# \Set options. Takes the same argument as GetoptLong.new.
#
# Raises a RuntimeError if option processing has already started.
#
Expand Down Expand Up @@ -341,7 +341,7 @@ def set_options(*arguments)
end

#
# Set/Unset `quiet' mode.
# \Set/Unset `quiet' mode.
#
attr_writer :quiet

Expand Down Expand Up @@ -383,7 +383,7 @@ def terminated?
end

#
# Set an error (a protected method).
# \Set an error (a protected method).
#
def set_error(type, message)
$stderr.print("#{$0}: #{message}\n") if !@quiet
Expand Down