Skip to content

Commit

Permalink
Handle invalid mode specification
Browse files Browse the repository at this point in the history
  • Loading branch information
splaspood committed Apr 12, 2024
1 parent 1ac1d69 commit 78a8bbd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/bios/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,8 @@ func main() {
if err != nil {
l.Error(err)
}
default:
l.Fatal("Unknown mode: " + *mode)

}
}

0 comments on commit 78a8bbd

Please sign in to comment.