@ -456,7 +456,7 @@ var (
Flags: []cli.Flag{
cli.StringFlag{
Name: "url",
Usage: `the data source of database,like "root:password@tcp(127.0.0.1:3306)/database`,
Usage: `the data source of database,like "root:password@tcp(127.0.0.1:3306)/database"`,
},
Name: "table, t",
@ -497,7 +497,7 @@ var (
Usage: `the data source of database,like "postgres://root:password@127.0.0.1:54332/database?sslmode=disable"`,
@ -199,7 +199,7 @@ func fromMysqlDataSource(url, pattern, dir string, cfg *config.Config, cache, id
func fromPostgreSqlDataSource(url, pattern, dir, schema string, cfg *config.Config, cache, idea bool) error {
log := console.NewConsole(idea)
if len(url) == 0 {
log.Error("%v", "expected data source of mysql, but nothing found")
log.Error("%v", "expected data source of postgresql, but nothing found")
return nil
}