Fixes #195.
This commit is contained in:
parent
49197951b3
commit
3fc5474c04
1 changed files with 3 additions and 2 deletions
|
@ -10,8 +10,9 @@ when defined(windows):
|
|||
|
||||
proc parseVersion*(versionStr: string): Version =
|
||||
if versionStr[0] notin {'#', '\0'} + Digits:
|
||||
let msg = "Invalid version, path or unknown channel. " &
|
||||
"Try 0.16.0, #head, #commitHash, or stable. " &
|
||||
let msg = "Invalid version, path or unknown channel.\n" &
|
||||
"Try 1.0.6, #head, #commitHash, or stable.\n" &
|
||||
"For example: choosenim #head.\n \n"&
|
||||
"See --help for more examples."
|
||||
raise newException(ChooseNimError, msg)
|
||||
|
||||
|
|
Loading…
Reference in a new issue