lib/rcoli/model.rb in rcoli-0.6.7 vs lib/rcoli/model.rb in rcoli-0.6.8

- old
+ new

@@ -214,11 +214,11 @@ log.level = Logger::DEBUG end end # enable dev mode - if (result.global_options['mode-dev']) - ApplicationContext.instance.modedev = true + if (result.global_options['dev-mode']) + ApplicationContext.instance.devmode = true end # execution of the pre block context.instance_exec(result.global_options, result.options, result.arguments, &@pre_action) if (@pre_action and !result.command.value_of_skip_pre) # execution of the main block \ No newline at end of file