Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Commit

Permalink
Ensure config file parses properly (#536) (#537)
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Simon <simon@swine.de>
  • Loading branch information
cyriltovena and simonswine committed Feb 22, 2023
1 parent 5050ed5 commit 5b3b9e0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/phlare/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ import (
)

type mainFlags struct {
phlare.Config
phlare.Config `yaml:",inline"`

PrintVersion bool
PrintModules bool
PrintHelp bool
PrintHelpAll bool
PrintVersion bool `yaml:"-"`
PrintModules bool `yaml:"-"`
PrintHelp bool `yaml:"-"`
PrintHelpAll bool `yaml:"-"`
}

func (mf *mainFlags) Clone() flagext.Registerer {
Expand Down

0 comments on commit 5b3b9e0

Please sign in to comment.