Skip to content

Commit 9ed02a3

Browse files
committed
feat: if the -q option is specified, the interactive mode will not display the version message
1 parent 8cd0962 commit 9ed02a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arlib/repl.ar

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func RunDefaultRepl() {
109109

110110
repl = Repl("Ar> ", "... ", module ? module.ok() : "__main")
111111

112-
io.print(runtime.version_ex)
112+
!runtime.config["quiet"] ? io.print(runtime.version_ex)
113113

114114
repl.interactive_loop()
115115
}

0 commit comments

Comments
 (0)