Skip to content

Commit 3eda82a

Browse files
committed
More consistent punctuation
1 parent 19f95da commit 3eda82a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/thor/base.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,10 +474,10 @@ def handle_no_command_error(command, has_namespace = $thor_runner) #:nodoc:
474474
alias handle_no_task_error handle_no_command_error
475475

476476
def handle_argument_error(command, error, args, arity) #:nodoc:
477-
msg = "ERROR: #{basename} #{command.name} was called with "
477+
msg = "ERROR: \"#{basename} #{command.name}\" was called with "
478478
msg << 'no arguments' if args.empty?
479479
msg << 'arguments ' << args.inspect if !args.empty?
480-
msg << "\nUsage: #{self.banner(command).inspect}."
480+
msg << "\nUsage: #{self.banner(command).inspect}"
481481
raise InvocationError, msg
482482
end
483483

0 commit comments

Comments
 (0)