Fix filter cli attribute name (#1103)

Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
vanous 2022-08-14 09:48:52 +02:00 committed by GitHub
parent fdf5fd3f69
commit b7957c53aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ func loop(c *cli.Context) error {
"repo": "*", // allow all repos by default "repo": "*", // allow all repos by default
} }
for _, v := range c.StringSlice("filter-labels") { for _, v := range c.StringSlice("filter") {
parts := strings.SplitN(v, "=", 2) parts := strings.SplitN(v, "=", 2)
labels[parts[0]] = parts[1] labels[parts[0]] = parts[1]
} }