lib/nanoc3/cli/commands/update.rb in nanoc3-3.2.1 vs lib/nanoc3/cli/commands/update.rb in nanoc3-3.2.2
- old
+ new
@@ -24,10 +24,10 @@
class Update < ::Nanoc3::CLI::Command
def run
# Check arguments
if arguments.size != 0
- $stderr.puts "usage: #{usage}"
+ $stderr.puts "usage: #{command.usage}"
exit 1
end
# Make sure we are in a nanoc site directory
self.require_site