Skip to content

Commit 64dbe31

Browse files
authored
Fix incorrect cmd name in help text (#216)
1 parent 8613492 commit 64dbe31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/pg-schema-diff/apply_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func buildApplyCmd() *cobra.Command {
2626
allowedHazardsTypesStrs := cmd.Flags().StringSlice("allow-hazards", nil,
2727
"Specify the hazards that are allowed. Order does not matter, and duplicates are ignored. If the"+
2828
" migration plan contains unwanted hazards (hazards not in this list), then the migration will fail to run"+
29-
" (example: --allowed-hazards DELETES_DATA,INDEX_BUILD)")
29+
" (example: --allow-hazards DELETES_DATA,INDEX_BUILD)")
3030
skipConfirmPrompt := cmd.Flags().Bool("skip-confirm-prompt", false, "Skips prompt asking for user to confirm before applying")
3131
cmd.RunE = func(cmd *cobra.Command, args []string) error {
3232
logger := log.SimpleLogger()

0 commit comments

Comments
 (0)