[backport] Fix style issues in lib/, tools/, and testament/. Fixes #12687. (#12754)

(cherry picked from commit 0944b0f441)
This commit is contained in:
3n-k1
2019-11-28 02:32:11 -05:00
committed by narimiran
parent 10935a71ed
commit a02a4d8fc5
9 changed files with 106 additions and 106 deletions

View File

@@ -185,10 +185,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
@@ -218,7 +218,7 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) =
self.initDefinesProg(conf, "nimfind")
if paramCount() == 0:
stdout.writeline(Usage)
stdout.writeLine(Usage)
return
self.processCmdLineAndProjectPath(conf)
@@ -234,4 +234,4 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) =
discard self.loadConfigsAndRunMainCommand(cache, conf)
handleCmdline(newIdentCache(), newConfigRef())
handleCmdLine(newIdentCache(), newConfigRef())