Update main.go

Do you want say "dsn"? I don't know if "dns" is right.
This commit is contained in:
kvii 2023-07-24 11:52:43 +08:00 committed by GitHub
parent c7d972106a
commit 5f8af89721
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,7 +149,7 @@ func main() {
)
case "":
printErrorAndExit("ERROR: required -source or -dns flag missing.")
printErrorAndExit("ERROR: required -source or -dsn flag missing.")
default:
printErrorAndExit("ERROR: unknown data source " + source + ". Only postgres, mysql, mariadb and sqlite are supported.")