Skip to content

Commit

Permalink
sql-tool: fix error message (uber#2667)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein authored and wxing1292 committed Oct 15, 2019
1 parent a0cd90d commit 5e00abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sql/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func createDatabase(cli *cli.Context) error {
}
database := cli.String(schema.CLIOptDatabase)
if database == "" {
return handleErr(schema.NewConfigError("missing " + flag(schema.CLIOptKeyspace) + " argument "))
return handleErr(schema.NewConfigError("missing " + flag(schema.CLIOptDatabase) + " argument "))
}
err = doCreateDatabase(*params, database)
if err != nil {
Expand Down

0 comments on commit 5e00abe

Please sign in to comment.