Skip to content

Commit

Permalink
Update apps/nsqd/options.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jehiah Czebotar <[email protected]>
  • Loading branch information
zoemccormick and jehiah authored May 21, 2024
1 parent 78651cd commit b8abbec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/nsqd/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func nsqdFlagSet(opts *nsqd.Options) *flag.FlagSet {
experiments := app.StringArray{}
var validExperiments []string
for _, e := range nsqd.AllExperiments {
validExperiments = append(validExperiments, fmt.Sprintf("'%s'", string(e)))
validExperiments = append(validExperiments, fmt.Sprintf("%q", string(e)))
}
flagSet.Var(&experiments, "enable-experiment", fmt.Sprintf("enable experimental feature (may be given multiple times) (valid options: %s)", strings.Join(validExperiments, ", ")))

Expand Down

0 comments on commit b8abbec

Please sign in to comment.