readme: pipe commands into sqlite3 instead of using -init

This makes it so sqlite3 exits after executing the file.
This commit is contained in:
Simon Ser 2020-03-04 20:13:20 +01:00
parent 9db953c7e5
commit e25037f5a6
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -10,7 +10,7 @@ A user-friendly IRC bouncer.
## Usage ## Usage
sqlite3 -init schema.sql jounce.db sqlite3 jounce.db <schema.sql
# Insert users, networks, channels to database # Insert users, networks, channels to database
go run ./cmd/jounce go run ./cmd/jounce