Remove redundant setting of cli.HelpFlag

The help flag is configured automatically by default already. We don't
need to redo that for every single service.

This also addresses one of the finding of "go race" (#4088)
This commit is contained in:
Ralf Haferkamp
2022-07-05 10:53:36 +02:00
parent 41226deab7
commit 4a09d8a948
31 changed files with 0 additions and 155 deletions
-5
View File
@@ -33,11 +33,6 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
cli.HelpFlag = &cli.BoolFlag{
Name: "help,h",
Usage: "Show the help",
}
return app.Run(os.Args)
}