render urls correctly (#11022)
This commit is contained in:
parent
fdc3f54f97
commit
485d5448fa
1 changed files with 2 additions and 2 deletions
|
|
@ -48,14 +48,14 @@ const
|
||||||
"Copyright (c) 2006-" & copyrightYear & " by Andreas Rumpf\n"
|
"Copyright (c) 2006-" & copyrightYear & " by Andreas Rumpf\n"
|
||||||
|
|
||||||
const
|
const
|
||||||
Usage = slurp"../doc/basicopt.txt".replace("//", "")
|
Usage = slurp"../doc/basicopt.txt".replace(" //", " ")
|
||||||
FeatureDesc = block:
|
FeatureDesc = block:
|
||||||
var x = ""
|
var x = ""
|
||||||
for f in low(Feature)..high(Feature):
|
for f in low(Feature)..high(Feature):
|
||||||
if x.len > 0: x.add "|"
|
if x.len > 0: x.add "|"
|
||||||
x.add $f
|
x.add $f
|
||||||
x
|
x
|
||||||
AdvancedUsage = slurp"../doc/advopt.txt".replace("//", "") % FeatureDesc
|
AdvancedUsage = slurp"../doc/advopt.txt".replace(" //", " ") % FeatureDesc
|
||||||
|
|
||||||
proc getCommandLineDesc(conf: ConfigRef): string =
|
proc getCommandLineDesc(conf: ConfigRef): string =
|
||||||
result = (HelpMessage % [VersionAsString, platform.OS[conf.target.hostOS].name,
|
result = (HelpMessage % [VersionAsString, platform.OS[conf.target.hostOS].name,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue