Skip to content

Commit

Permalink
handle invalid meta command
Browse files Browse the repository at this point in the history
  • Loading branch information
chirst committed Jul 29, 2024
1 parent 1e83d25 commit c60538d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repl/repl.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ func (r *repl) Run() {
if input == ".exit" {
os.Exit(0)
}
fmt.Println("Command not supported")
continue
}
result := r.db.Execute(input)
if result.Err != nil {
Expand Down

0 comments on commit c60538d

Please sign in to comment.