lib/nanoc/cli/commands/update.rb in nanoc-3.3.7 vs lib/nanoc/cli/commands/update.rb in nanoc-3.4.0

- old
+ new

@@ -20,11 +20,10 @@ class Update < ::Nanoc::CLI::CommandRunner def run # Check arguments if arguments.size != 0 - $stderr.puts "usage: #{command.usage}" - exit 1 + raise Nanoc::Errors::GenericTrivial, "usage: #{command.usage}" end # Make sure we are in a nanoc site directory self.require_site