Skip to content

Commit

Permalink
Grammer correction
Browse files Browse the repository at this point in the history
  • Loading branch information
uzaxirr committed May 16, 2024
1 parent b672f26 commit 571d287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/database/database_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,13 @@ var dbCreateCmd = &cobra.Command{
}

if !softwareIsValid {
utility.Error("The provided software name is not valid. Make sure you use correct capitalization (e.g., MySQL, PostgreSQL)")
utility.Error("The provided software name is not valid. Make sure you use correct capitalization (eg: MySQL, PostgreSQL)")
os.Exit(1)
}

if !softwareVersionIsValid {
if softwareVersion == "" {
utility.Error(fmt.Sprintf("No version specified for %s. Please provide a version using --version flag. For example, civo database create db-psql --software psql --version 14.", canonicalSoftwareName))
utility.Error(fmt.Sprintf("No version specified for %s. Please provide a version using --version flag. For example, civo database create db-psql --software psql --version 14", canonicalSoftwareName))
} else {
utility.Error("The provided software version is not valid. Please check the available versions for the specified software.")
}
Expand Down

0 comments on commit 571d287

Please sign in to comment.