Skip to content

Commit

Permalink
Fix migrate SQL command message to indicate that environment flag wil…
Browse files Browse the repository at this point in the history
…l pull from config file.

Signed-off-by: David Kushner <root@davidkushner.me>
  • Loading branch information
David Kushner committed May 1, 2019
1 parent 64f3138 commit 3dfd37c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/migrate_sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ Before running this command on an existing database, create a back up!
func init() {
migrateCmd.AddCommand(migrateSqlCmd)

migrateSqlCmd.Flags().BoolP("read-from-env", "e", false, "If set, reads the database connection string from the environment variable DSN.")
migrateSqlCmd.Flags().BoolP("read-from-env", "e", false, "If set, reads the database connection string from the environment variable DSN or config file key dsn.")
migrateSqlCmd.Flags().BoolP("yes", "y", false, "If set all confirmation requests are accepted without user interaction.")
}

0 comments on commit 3dfd37c

Please sign in to comment.