1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v repl: improve the V REPL welcome message

This commit is contained in:
Delyan Angelov 2020-10-30 14:09:43 +02:00
parent 791fda16d3
commit fee56b1902

View File

@ -28,7 +28,7 @@ fn main() {
if args.len == 0 || args[0] in ['-', 'repl'] {
// Running `./v` without args launches repl
if args.len == 0 && is_atty(0) != 0 {
println('For usage information, quit V REPL and run `v help`')
println('Welcome to the V REPL (for help with V itself, type `exit`, then run `v help`).')
}
util.launch_tool(false, 'vrepl', os.args[1..])
return