Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dot at end of "Settable using" help. #795

Merged
merged 1 commit into from
Jun 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cli/stream_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -1989,7 +1989,7 @@ func (c *streamCmd) prepareConfig(_ *fisk.ParseContext, requireSize bool) api.St
fisk.FatalIfError(err, "invalid compression algorithm")

if c.replicas == 0 {
c.replicas, err = askOneInt("Replication", "1", "When clustered, defines how many replicas of the data to store. Settable using --replicas.")
c.replicas, err = askOneInt("Replication", "1", "When clustered, defines how many replicas of the data to store. Settable using --replicas")
fisk.FatalIfError(err, "invalid input")
}
if c.replicas <= 0 {
Expand Down Expand Up @@ -2084,7 +2084,7 @@ func (c *streamCmd) prepareConfig(_ *fisk.ParseContext, requireSize bool) api.St
err = askOne(&survey.Input{
Message: "Duplicate tracking time window",
Default: defaultDW,
Help: "Duplicate messages are identified by the Msg-Id headers and tracked within a window of this size. Supports units (s)econds, (m)inutes, (h)ours, (y)ears, (M)onths, (d)ays. Settable using --dupe-window.",
Help: "Duplicate messages are identified by the Msg-Id headers and tracked within a window of this size. Supports units (s)econds, (m)inutes, (h)ours, (y)ears, (M)onths, (d)ays. Settable using --dupe-window",
}, &c.dupeWindow)
fisk.FatalIfError(err, "invalid input")
}
Expand Down