Commit 0357e973 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Promote --tests option to official status.

Move --stats option below it (keep it still experimental).
parent bd543b80
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -223,11 +223,6 @@ module JsDuck
          @examples = canonical(path)
        end

        opts.on('--stats',
          "Creates page with all kinds of statistics. Experimental!", " ") do
          @stats = true
        end

        opts.on('--categories=PATH',
          "Path to JSON file which defines categories for classes.", " ") do |path|
          @categories_path = canonical(path)
@@ -294,10 +289,15 @@ module JsDuck
          @examples_base_url = path
        end

        opts.on('--tests', "Creates infrastructure for running tests. Experimental!", " ") do
        opts.on('--tests', "Creates page for testing inline examples.", " ") do
          @tests = true
        end

        opts.on('--stats',
          "Creates page with all kinds of statistics. Experimental!", " ") do
          @stats = true
        end

        opts.separator "Debugging:"
        opts.separator ""