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

repl: show short version

This commit is contained in:
Alexander Medvednikov
2020-07-03 22:30:34 +02:00
parent 244d61f8d0
commit e9e437ce05
2 changed files with 10 additions and 10 deletions

View File

@ -76,7 +76,7 @@ fn (r &Repl) current_source_code(should_add_temp_lines bool) string {
}
fn repl_help() {
println(util.full_v_version(true))
println(util.full_v_version(false))
println('
help Displays this information.
list Show the program so far.
@ -87,7 +87,7 @@ fn repl_help() {
}
fn run_repl(workdir string, vrepl_prefix string) {
println(util.full_v_version(true))
println(util.full_v_version(false))
println('Use Ctrl-C or `exit` to exit')
file := os.join_path(workdir, '.${vrepl_prefix}vrepl.v')