lib/nanoc3/cli/commands/view.rb in nanoc3-3.2.0 vs lib/nanoc3/cli/commands/view.rb in nanoc3-3.2.1

- old
+ new

@@ -4,12 +4,12 @@ summary 'start the web server that serves static files' description <<-EOS Start the static web server. Unless specified, the web server will run on port 3000 and listen on all IP addresses. Running this static web server requires 'adsf' (not 'asdf'!). EOS -option :H, :handler, 'specify the handler to use (webrick/mongrel/...)' -option :o, :host, 'specify the host to listen on (default: 0.0.0.0)' -option :p, :port, 'specify the port to listen on (default: 3000)' +required :H, :handler, 'specify the handler to use (webrick/mongrel/...)' +required :o, :host, 'specify the host to listen on (default: 0.0.0.0)' +required :p, :port, 'specify the port to listen on (default: 3000)' run do |opts, args, cmd| Nanoc3::CLI::Commands::View.call(opts, args, cmd) end