Loading lib/jsduck/options.rb +3 −2 Original line number Diff line number Diff line Loading @@ -97,7 +97,8 @@ module JsDuck @seo = false # Debugging @processes = nil # Turn multiprocessing off by default in Windows @processes = OS::windows? ? 0 : nil @root_dir = File.dirname(File.dirname(File.dirname(__FILE__))) @template_dir = @root_dir + "/template-min" @template_links = false Loading Loading @@ -264,7 +265,7 @@ module JsDuck # For debugging it's often useful to set --processes=0 to get deterministic results. opts.on('-p', '--processes=COUNT', "The number of parallel processes to use.", "Defaults to the number of processors/cores.", OS::windows? ? "Defaults to off in Windows." : "Defaults to the number of processors/cores.", "Set to 0 to disable parallel processing completely.", " ") do |count| @processes = count.to_i end Loading Loading
lib/jsduck/options.rb +3 −2 Original line number Diff line number Diff line Loading @@ -97,7 +97,8 @@ module JsDuck @seo = false # Debugging @processes = nil # Turn multiprocessing off by default in Windows @processes = OS::windows? ? 0 : nil @root_dir = File.dirname(File.dirname(File.dirname(__FILE__))) @template_dir = @root_dir + "/template-min" @template_links = false Loading Loading @@ -264,7 +265,7 @@ module JsDuck # For debugging it's often useful to set --processes=0 to get deterministic results. opts.on('-p', '--processes=COUNT', "The number of parallel processes to use.", "Defaults to the number of processors/cores.", OS::windows? ? "Defaults to off in Windows." : "Defaults to the number of processors/cores.", "Set to 0 to disable parallel processing completely.", " ") do |count| @processes = count.to_i end Loading