Skip to content

Commit

Permalink
enhnace server help
Browse files Browse the repository at this point in the history
  • Loading branch information
ShohamBit committed Jan 15, 2025
1 parent 35c9cba commit bdf1178
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/tracee/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ func initCmd() error {
rootCmd.Flags().StringArray(
"server",
[]string{""},
`--server <type>.<option>=<value> Configure HTTP or gRPC server options. <type> is either "http" or "grpc". Options include:
http: address, metrics, pprof, healthz, pyroscope
grpc: address`)
`<type>.<option>=<value> Configure HTTP or gRPC server options. <type> is either "http" or "grpc". Options include:
http: address, metrics, pprof, healthz, pyroscope
grpc: address`)

err = viper.BindPFlag("server", rootCmd.Flags().Lookup("server"))
if err != nil {
Expand Down

0 comments on commit bdf1178

Please sign in to comment.