Permalink
Browse files

Minor change of diction in a comment [ci skip]

  • Loading branch information...
1 parent ffbc56c commit 9bb68dc632f5f53cdc38926379bb28436b8a164e @sferik sferik committed Jul 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/thor.rb
View
4 lib/thor.rb
@@ -321,7 +321,7 @@ def retrieve_task_name(args) #:nodoc:
# receives a (possibly nil) task name and returns a name that is in
# the tasks hash. In addition to normalizing aliases, this logic
- # will determine if a shortened command is an unambiguous prefix of
+ # will determine if a shortened command is an unambiguous substring of
# a task or alias.
#
# +normalize_task_name+ also converts names like +animal-prison+
@@ -344,7 +344,7 @@ def normalize_task_name(meth) #:nodoc:
end
# this is the logic that takes the task name passed in by the user
- # and determines whether it is an unambiguous prefix of a task or
+ # and determines whether it is an unambiguous substrings of a task or
# alias name.
def find_task_possibilities(meth)
len = meth.to_s.length

0 comments on commit 9bb68dc

Please sign in to comment.