Commit b8cd4419 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Completely remove --no-warnings option.

It was deprecated in 3.2.1 in December 2011.

Should be OK to remove now.
parent 1d1455f0
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -164,13 +164,6 @@ module JsDuck
          @meta_tag_paths << canonical(path)
        end

        opts.on('--no-warnings',
          "Turns off all warnings.",
          "(Deprecated, use --warnings=-all instead.)", " ") do
          Logger.instance.warn(nil, "--no-warnings is deprecated. Use --warnings=-all instead.")
          Logger.instance.set_warning(:all, false)
        end

        opts.on('--encoding=NAME', "Input encoding (defaults to UTF-8).", " ") do |encoding|
          JsDuck::IO.encoding = encoding
        end
@@ -385,7 +378,6 @@ module JsDuck
            main_opts = [
              /--output/,
              /--builtin-classes/,
              /--no-warnings/,
              /--encoding/,
              /--verbose/,
              /--help/,