Skip to content

Commit

Permalink
feat: if the -q option is specified, the interactive mode will not di…
Browse files Browse the repository at this point in the history
…splay the version message
  • Loading branch information
jacopodl committed Mar 11, 2024
1 parent 8cd0962 commit 9ed02a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arlib/repl.ar
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func RunDefaultRepl() {

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

io.print(runtime.version_ex)
!runtime.config["quiet"] ? io.print(runtime.version_ex)

repl.interactive_loop()
}

0 comments on commit 9ed02a3

Please sign in to comment.