Skip to content

Commit

Permalink
cmd/action: better wording
Browse files Browse the repository at this point in the history
  • Loading branch information
masseelch committed Feb 22, 2022
1 parent bcedf13 commit 0c47d41
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/action/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func newDiffCmd() *cobra.Command {
Short: "Calculate and print the diff between two schemas.",
Long: "`atlas schema diff`" + ` connects to two given databases, inspects
them, calculates the difference in their schemas, and prints a plan of
SQL queries to bring the "from" database to the schema of the "to" database.`,
SQL statements to migrate the "from" database to the schema of the "to" database.`,
Run: func(cmd *cobra.Command, args []string) {
cmdDiffRun(cmd, &opts)
},
Expand Down
2 changes: 1 addition & 1 deletion cmd/action/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
var schemaCmd = &cobra.Command{
Use: "schema",
Short: "Work with atlas schemas.",
Long: "The `atlas schema` subcommand groups commands for working with Atlas schemas.",
Long: "The `atlas schema` command groups subcommands for working with Atlas schemas.",
}

func init() {
Expand Down
4 changes: 2 additions & 2 deletions doc/md/cli/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ atlas schema
```

#### Details
The `atlas schema` subcommand groups commands for working with Atlas schemas.
The `atlas schema` command groups subcommands for working with Atlas schemas.


### atlas schema apply
Expand Down Expand Up @@ -110,7 +110,7 @@ atlas schema diff [flags]
#### Details
`atlas schema diff` connects to two given databases, inspects
them, calculates the difference in their schemas, and prints a plan of
SQL queries to bring the "from" database to the schema of the "to" database.
SQL statements to migrate the "from" database to the schema of the "to" database.

#### Flags
```
Expand Down

0 comments on commit 0c47d41

Please sign in to comment.