From 46aacf917f39d02c96175d358e7a76fc875ea070 Mon Sep 17 00:00:00 2001 From: narimiran Date: Mon, 6 Jul 2020 11:24:43 +0200 Subject: Fix style inconsistencies due to the previous commit --- tools/nimfind.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/nimfind.nim b/tools/nimfind.nim index 6a4585c7e..05980d740 100644 --- a/tools/nimfind.nim +++ b/tools/nimfind.nim @@ -182,10 +182,10 @@ proc processCmdLine*(pass: TCmdLinePass, cmd: string; conf: ConfigRef) = parseopt.next(p) case p.kind of cmdEnd: break - of cmdLongoption, cmdShortOption: + of cmdLongOption, cmdShortOption: case p.key.normalize of "help", "h": - stdout.writeline(Usage) + stdout.writeLine(Usage) quit() of "project": conf.projectName = p.val @@ -215,7 +215,7 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) = self.initDefinesProg(conf, "nimfind") if paramCount() == 0: - stdout.writeline(Usage) + stdout.writeLine(Usage) return self.processCmdLineAndProjectPath(conf) @@ -231,4 +231,4 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) = discard self.loadConfigsAndRunMainCommand(cache, conf) -handleCmdline(newIdentCache(), newConfigRef()) +handleCmdLine(newIdentCache(), newConfigRef()) -- cgit 1.4.1-2-gfad0