From b9f8528db675927aacc6443ae3a363711bb41945 Mon Sep 17 00:00:00 2001 From: zah Date: Fri, 8 Mar 2019 16:23:36 +0200 Subject: Don't include the nimhcr dev docs in the system module documentation (#10759) --- compiler/main.nim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'compiler/main.nim') diff --git a/compiler/main.nim b/compiler/main.nim index 154252bf3..84a0fb97d 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -63,9 +63,7 @@ proc commandCheck(graph: ModuleGraph) = when not defined(leanCompiler): proc commandDoc2(graph: ModuleGraph; json: bool) = - if optWholeProject in graph.config.globalOptions: - # Backward compatibility with previous versions - graph.config.outDir = AbsoluteDir(graph.config.outDir / graph.config.outFile) + handleDocOutputOptions graph.config graph.config.errorMax = high(int) # do not stop after first error semanticPasses(graph) if json: registerPass(graph, docgen2JsonPass) -- cgit 1.4.1-2-gfad0