Skip to content

Commit b14cfd4

Browse files
authored
Merge pull request #891 from Uaitt/correct-typo-in-comment
Correct typo in comment
2 parents 048bbdd + 618ffef commit b14cfd4

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)