From 07ad608fb2a9387fefc61a8eef9e0777660516a9 Mon Sep 17 00:00:00 2001 From: Clyybber Date: Fri, 20 Nov 2020 14:11:41 +0100 Subject: [PATCH] Retain backwards compatibility after #16057 (#16068) * Retain backwards compatibility * Fix typo --- compiler/cmdlinehelper.nim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/cmdlinehelper.nim b/compiler/cmdlinehelper.nim index ffbb0d40b6..4f1ede5d14 100644 --- a/compiler/cmdlinehelper.nim +++ b/compiler/cmdlinehelper.nim @@ -84,3 +84,7 @@ proc loadConfigsAndProcessCmdLine*(self: NimProg, cache: IdentCache; conf: Confi graph.suggestMode = self.suggestMode return true + +proc loadConfigsAndRunMainCommand*(self: NimProg, cache: IdentCache; conf: ConfigRef; graph: ModuleGraph): bool = + ## Alias for loadConfigsAndProcessCmdLine, here for backwards compatibility + loadConfigsAndProcessCmdLine(self, cache, conf, graph)