renamed writeln to writeLine in tools

This commit is contained in:
patrick dw 2015-06-19 01:36:57 -05:00
commit f71eaf66be
3 changed files with 50 additions and 50 deletions

View file

@ -126,10 +126,10 @@ proc parseCmdLine(c: var TConfigData) =
break
of cmdLongOption, cmdShortOption:
case normalize(key)
of "help", "h":
of "help", "h":
stdout.write(usage)
quit(0)
of "version", "v":
of "version", "v":
stdout.write(version & "\n")
quit(0)
of "o", "output": c.outdir = val
@ -431,7 +431,7 @@ proc buildWebsite(c: var TConfigData) =
if not existsDir("web/upload"):
createDir("web/upload")
if open(f, outfile, fmWrite):
writeln(f, generateHTMLPage(c, file, content, rss))
writeLine(f, generateHTMLPage(c, file, content, rss))
close(f)
else:
quit("[Error] cannot write file: " & outfile)