Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Zach-Johnson committed Apr 14, 2022
1 parent a51b8e3 commit ea4f95a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/produce/produce.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ Unfortunately, with exact sizing, the format string is unavoidably noisy.
cmd.Flags().StringVarP(&escapeChar, "escape-char", "c", "%", "character to use for beginning a record field escape (accepts any utf8, for both format and verbose-format)")
cmd.Flags().IntVar(&acks, "acks", -1, "number of acks required, -1 is all in sync replicas, 1 is leader replica only, 0 is no acks required (0 disables idempotency)")
cmd.Flags().IntVar(&retries, "retries", -1, "number of times to retry producing if non-negative")
cmd.Flags().BoolVarP(&tombstone, "tombstone", "Z", false, "produce emtpy values as tombstones")
cmd.Flags().BoolVarP(&tombstone, "tombstone", "Z", false, "produce empty values as tombstones")

return cmd
}
2 changes: 1 addition & 1 deletion commands/transact/transact.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func Command(cl *client.Client) *cobra.Command {
cmd.Flags().StringVarP(&destTopic, "destination-topic", "d", "", "if non-empty, the topic to produce to (read-format must not contain %t)")
cmd.Flags().StringVarP(&txnID, "txn-id", "x", "", "transactional ID")
cmd.Flags().BoolVarP(&verbose, "verbose", "v", false, "verbose printing of transactions")
cmd.Flags().BoolVarP(&tombstone, "tombstone", "Z", false, "produce emtpy values as tombstones")
cmd.Flags().BoolVarP(&tombstone, "tombstone", "Z", false, "produce empty values as tombstones")

return cmd
}
Expand Down

0 comments on commit ea4f95a

Please sign in to comment.