mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 06:13:24 +00:00
Fix flags added multiple times (#2914)
Closes https://github.com/woodpecker-ci/woodpecker/issues/2912 Global flags should not be added to the commands/subscommands, only globally.
This commit is contained in:
@@ -37,7 +37,6 @@ var Command = &cli.Command{
|
||||
Usage: "lint a pipeline configuration file",
|
||||
ArgsUsage: "[path/to/.woodpecker.yaml]",
|
||||
Action: lint,
|
||||
Flags: common.GlobalFlags,
|
||||
}
|
||||
|
||||
func lint(c *cli.Context) error {
|
||||
|
Reference in New Issue
Block a user