Merge pull request #4099 from rhafer/clean

Remove redundant setting of cli.HelpFlag
This commit is contained in:
Willy Kloucek authored and GitHub committed 2022-07-05 15:50:02 +02:00
commit 337446766c
31 files changed
-155

No files matched your search

-5
View File
@@ -25,10 +25,5 @@ func Execute() error {
)
}
cli.HelpFlag = &cli.BoolFlag{
Name: "help,h",
Usage: "Show the help",
}
return app.Run(os.Args)
}
@@ -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)
}
@@ -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)
}
-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)
}
-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)
}
-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)
}
@@ -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)
}
-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)
}
-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)
}
@@ -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)
}
-5
View File
@@ -33,11 +33,6 @@ func Execute(cfg *config.Config) error {
Usage: "Serve Graph API for oCIS",
Commands: GetCommands(cfg),
})
cli.HelpFlag = &cli.BoolFlag{
Name: "help,h",
Usage: "Show the help",
}
return app.Run(os.Args)
}
-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)
}
-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)
}
-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)
}
-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)
}
@@ -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)
}
-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)
}
-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)
}
-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)
}
-5
View File
@@ -34,11 +34,6 @@ func Execute(cfg *config.Config) error {
Usage: "Serve search API for oCIS",
Commands: GetCommands(cfg),
})
cli.HelpFlag = &cli.BoolFlag{
Name: "help,h",
Usage: "Show the help",
}
return app.Run(os.Args)
}
-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)
}
-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)
}
@@ -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)
}
@@ -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)
}
@@ -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)
}
@@ -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)
}
-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)
}
-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)
}
-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)
}
-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)
}
-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)
}