From 5b8da9d8b809fbae93197f65b92e799209c74e69 Mon Sep 17 00:00:00 2001 From: Andre Arko Date: Tue, 26 Jul 2011 21:26:10 -0700 Subject: [PATCH] unknown options should raise an error --- lib/middleman/cli.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/middleman/cli.rb b/lib/middleman/cli.rb index 9ea5cfe8..79c7d15a 100644 --- a/lib/middleman/cli.rb +++ b/lib/middleman/cli.rb @@ -5,6 +5,7 @@ require "middleman/templates" module Middleman class CLI < Thor include Thor::Actions + check_unknown_options! default_task :server def initialize(*)