diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-11-16 12:53:36 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-11-16 12:53:36 +0100 |
commit | a4d40d137e402acb02d557baeba159b843ebda3f (patch) | |
tree | c0ad67f575017b68f0dda63f5c06b086c728759b /compiler | |
parent | 25e825df3ad1832c5795eb06369b8fe660a4d02d (diff) | |
download | Nim-a4d40d137e402acb02d557baeba159b843ebda3f.tar.gz |
'nim doc' is now using version 2 of the documentation generator
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/main.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index 0edbae16f..1e94a6ca0 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -186,12 +186,12 @@ proc mainCommand*(graph: ModuleGraph; cache: IdentCache) = of "php": gCmd = cmdCompileToPHP commandCompileToJS(graph, cache) - of "doc": + of "doc0": wantMainModule() gCmd = cmdDoc loadConfigs(DocConfig, cache) commandDoc() - of "doc2": + of "doc2", "doc": gCmd = cmdDoc loadConfigs(DocConfig, cache) defineSymbol("nimdoc") |