Skip to content

Commit

Permalink
remove unused flag
Browse files Browse the repository at this point in the history
  • Loading branch information
peekjef72 committed Sep 17, 2023
1 parent a25828d commit 9f8c3c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .promu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build:
-X github.com/prometheus/common/version.Version={{.Version}}
-X github.com/prometheus/common/version.Revision={{.Revision}}
-X github.com/prometheus/common/version.Branch={{.Branch}}
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
-X github.com/prometheus/common/version.BuildDate={{date "2006-01-02T15:04:05"}}
-X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
tarball:
files:
Expand Down
2 changes: 2 additions & 0 deletions nrpe_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,8 @@ func main() {
flag.AddFlags(kingpin.CommandLine, &logConfig)
kingpin.Version(version.Print("nrpe_exporter")).VersionFlag.Short('V')
kingpin.HelpFlag.Short('h')
fl := kingpin.CommandLine.GetFlag("web.telemetry-path")
fl.Hidden()
kingpin.Parse()

logger := promlog.New(&logConfig)
Expand Down

0 comments on commit 9f8c3c2

Please sign in to comment.