Skip to content

Commit 618ffef

Browse files
committed
Correct typo in comment
1 parent 3178667 commit 618ffef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/thor/parser/options.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def parse(args) # rubocop:disable Metrics/MethodLength
144144
def check_exclusive!
145145
opts = @assigns.keys
146146
# When option A and B are exclusive, if A and B are given at the same time,
147-
# the diffrence of argument array size will decrease.
147+
# the difference of argument array size will decrease.
148148
found = @exclusives.find{ |ex| (ex - opts).size < ex.size - 1 }
149149
if found
150150
names = names_to_switch_names(found & opts).map{|n| "'#{n}'"}

0 commit comments

Comments
 (0)