update eventdest and metricdest help messages
@@ -43,10 +43,10 @@ func helpErrAndExit(cmd *cobra.Command, errText string) {
}
func metricAndEventDestFlags(cmd *cobra.Command, rc *run.Config) {
- cmd.Flags().StringVarP(&rc.CriblDest, "cribldest", "c", "", "Set Cribl destination for metrics & events (default tls://)")
+ cmd.Flags().StringVarP(&rc.CriblDest, "cribldest", "c", "", "Set Cribl destination for metrics & events (host:port defaults to tls://)")
cmd.Flags().StringVar(&rc.MetricsFormat, "metricformat", "ndjson", "Set format of metrics output (statsd|ndjson)")
- cmd.Flags().StringVarP(&rc.MetricsDest, "metricdest", "m", "", "Set destination for metrics")
- cmd.Flags().StringVarP(&rc.EventsDest, "eventdest", "e", "", "Set destination for events")
+ cmd.Flags().StringVarP(&rc.MetricsDest, "metricdest", "m", "", "Set destination for metrics (host:port defaults to tls://)")
+ cmd.Flags().StringVarP(&rc.EventsDest, "eventdest", "e", "", "Set destination for events (host:port defaults to tls://)")
}
func runCmdFlags(cmd *cobra.Command, rc *run.Config) {
