Skip to content

Commit

Permalink
hide dry-run from help content
Browse files Browse the repository at this point in the history
  • Loading branch information
rmfitzpatrick committed Dec 15, 2022
1 parent 84df868 commit 2683718
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/settings/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ func parseArgs(args []string) (*Settings, error) {
"The component has to be defined in the config file and the flag has a higher precedence. "+
"Array config properties are overridden and maps are joined. Example --set=processors.batch.timeout=2s")
flagSet.BoolVar(&settings.dryRun, "dry-run", false, "Don't run the service, just show the configuration")
flagSet.MarkHidden("dry-run")
flagSet.BoolVar(&settings.noConvertConfig, "no-convert-config", false,
"Do not translate old configurations to the new format automatically. "+
"By default, old configurations are translated to the new format for backward compatibility.")
Expand Down

0 comments on commit 2683718

Please sign in to comment.