lib/kitabu/cli.rb in kitabu-1.0.0.rc4 vs lib/kitabu/cli.rb in kitabu-1.0.0
- old
+ new
@@ -24,10 +24,9 @@
generator.invoke_all
end
desc "export [OPTIONS]", "Export e-book"
method_option :only, :type => :string, :desc => "Can be one of: #{FORMATS.join(", ")}"
- method_option :auto, :type => :boolean, :desc => "Watch changes and automatically export files"
method_option :open, :type => :boolean, :desc => "Automatically open PDF (Mac OS X only)"
def export
if options[:only] && !FORMATS.include?(options[:only])
raise Error, "The --only option need to be one of: #{FORMATS.join(", ")}"