diff --git a/lib/teamocil/cli.rb b/lib/teamocil/cli.rb index 1e4f18e..11fb6d7 100644 --- a/lib/teamocil/cli.rb +++ b/lib/teamocil/cli.rb @@ -14,7 +14,7 @@ module Teamocil parse_options! if @options.include?(:layout) - file = options[:layout] + file = @options[:layout] else file = ::File.join("#{env["HOME"]}/.teamocil", "#{argv[0]}.yml") end