Skip to content

Commit

Permalink
fix: use '-e' as short flag for --filter-scrape-url flag
Browse files Browse the repository at this point in the history
  • Loading branch information
zbindenren committed Apr 20, 2021
1 parent 87c5cef commit b22c8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/target.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (t targetCmd) Run(g *Globals, l *zap.SugaredLogger, app *kong.Context) erro
type targetFilter struct {
Name string `short:"N" help:"Filter targets by job name (regular expression)."`
Server string `short:"S" help:"Filter targets by promehteus server name (regular expression)."`
ScrapeURL string `short:"u" help:"Filter targets by scrape url (regular expression)."`
ScrapeURL string `short:"e" help:"Filter targets by scrape endpoint url (regular expression)."`
Health v1.HealthStatus `short:"H" help:"Filter targets by health (up|down)" enum:"up,down,unknown,"`
Selector string `short:"s" help:"Filter services by (k8s style) selector."`
}
Expand Down

0 comments on commit b22c8eb

Please sign in to comment.