We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3178667 commit 618ffefCopy full SHA for 618ffef
lib/thor/parser/options.rb
@@ -144,7 +144,7 @@ def parse(args) # rubocop:disable Metrics/MethodLength
144
def check_exclusive!
145
opts = @assigns.keys
146
# 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.
+ # the difference of argument array size will decrease.
148
found = @exclusives.find{ |ex| (ex - opts).size < ex.size - 1 }
149
if found
150
names = names_to_switch_names(found & opts).map{|n| "'#{n}'"}
0 commit comments