diff options
author | Andy Davidoff <disruptek@users.noreply.github.com> | 2019-04-14 02:20:23 -0400 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-04-14 08:20:23 +0200 |
commit | 485d5448fa325b74b3636ffd53ede4066c3aad96 (patch) | |
tree | 18ddc36cf3b57a451768782ab79c2ba3681fb5b3 /compiler | |
parent | fdc3f54f9760b6512c5bdc3af6ed034187e70ffe (diff) | |
download | Nim-485d5448fa325b74b3636ffd53ede4066c3aad96.tar.gz |
render urls correctly (#11022)
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/commands.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim index 6935e7747..4a88137b9 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -48,14 +48,14 @@ const "Copyright (c) 2006-" & copyrightYear & " by Andreas Rumpf\n" const - Usage = slurp"../doc/basicopt.txt".replace("//", "") + Usage = slurp"../doc/basicopt.txt".replace(" //", " ") FeatureDesc = block: var x = "" for f in low(Feature)..high(Feature): if x.len > 0: x.add "|" x.add $f x - AdvancedUsage = slurp"../doc/advopt.txt".replace("//", "") % FeatureDesc + AdvancedUsage = slurp"../doc/advopt.txt".replace(" //", " ") % FeatureDesc proc getCommandLineDesc(conf: ConfigRef): string = result = (HelpMessage % [VersionAsString, platform.OS[conf.target.hostOS].name, |