v repl: improve the V REPL welcome message

pull/6698/head
Delyan Angelov 2020-10-30 14:09:43 +02:00
parent 791fda16d3
commit fee56b1902
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ fn main() {
if args.len == 0 || args[0] in ['-', 'repl'] { if args.len == 0 || args[0] in ['-', 'repl'] {
// Running `./v` without args launches repl // Running `./v` without args launches repl
if args.len == 0 && is_atty(0) != 0 { 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..]) util.launch_tool(false, 'vrepl', os.args[1..])
return return