Commit 12fb5025 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Add --debug option.

Just a useful shorthand during development.
parent ca367282
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -627,6 +627,14 @@ module JsDuck
          @template_links = true
        end

        opts.on('-d', '--debug',
          "Same as --template=template --template-links.",
          "",
          "Useful shorthand during development.") do
          @template_dir = canonical("template")
          @template_links = true
        end

        opts.on('--extjs-path=PATH',
          "Path for main ExtJS JavaScript file.",
          "",