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

Commit 5b3b9e0

Browse files
Ensure config file parses properly (#536) (#537)
Co-authored-by: Christian Simon <[email protected]>
1 parent 5050ed5 commit 5b3b9e0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cmd/phlare/main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ import (
1717
)
1818

1919
type mainFlags struct {
20-
phlare.Config
20+
phlare.Config `yaml:",inline"`
2121

22-
PrintVersion bool
23-
PrintModules bool
24-
PrintHelp bool
25-
PrintHelpAll bool
22+
PrintVersion bool `yaml:"-"`
23+
PrintModules bool `yaml:"-"`
24+
PrintHelp bool `yaml:"-"`
25+
PrintHelpAll bool `yaml:"-"`
2626
}
2727

2828
func (mf *mainFlags) Clone() flagext.Registerer {

0 commit comments

Comments
 (0)