mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-23 04:28:48 -05:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user