Add pre-commit linting, test all PRs (#541)

This commit is contained in:
Toni Spets
2023-12-15 21:49:29 +02:00
committed by GitHub
parent 25ac72ae6c
commit 1a96ad4389
12 changed files with 75 additions and 26 deletions

View File

@@ -121,7 +121,7 @@ cover.
Usage:
litestream generations [arguments] DB_PATH
litestream generations [arguments] REPLICA_URL
Arguments:

View File

@@ -5,6 +5,8 @@ package main
import (
"context"
"io"
"log"
"log/slog"
"os"
"os/signal"

View File

@@ -181,7 +181,7 @@ func (c *ReplicateCommand) Close() (err error) {
// Usage prints the help screen to STDOUT.
func (c *ReplicateCommand) Usage() {
fmt.Printf(`
The replicate command starts a server to monitor & replicate databases.
The replicate command starts a server to monitor & replicate databases.
You can specify your database & replicas in a configuration file or you can
replicate a single database file by specifying its path and its replicas in the
command line arguments.