diff --git a/ocis/pkg/command/root.go b/ocis/pkg/command/root.go index 806e917421b..2edf4a750f5 100644 --- a/ocis/pkg/command/root.go +++ b/ocis/pkg/command/root.go @@ -25,10 +25,5 @@ func Execute() error { ) } - cli.HelpFlag = &cli.BoolFlag{ - Name: "help,h", - Usage: "Show the help", - } - return app.Run(os.Args) } diff --git a/services/app-provider/pkg/command/root.go b/services/app-provider/pkg/command/root.go index 3db69a21ada..b981f0d823f 100644 --- a/services/app-provider/pkg/command/root.go +++ b/services/app-provider/pkg/command/root.go @@ -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) } diff --git a/services/app-registry/pkg/command/root.go b/services/app-registry/pkg/command/root.go index 5f8362165ae..3d20b9fd491 100644 --- a/services/app-registry/pkg/command/root.go +++ b/services/app-registry/pkg/command/root.go @@ -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) } diff --git a/services/audit/pkg/command/root.go b/services/audit/pkg/command/root.go index ec1ef4d72b9..025dc925d6e 100644 --- a/services/audit/pkg/command/root.go +++ b/services/audit/pkg/command/root.go @@ -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) } diff --git a/services/auth-basic/pkg/command/root.go b/services/auth-basic/pkg/command/root.go index d62b0d9e378..d7ba172deb9 100644 --- a/services/auth-basic/pkg/command/root.go +++ b/services/auth-basic/pkg/command/root.go @@ -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) } diff --git a/services/auth-bearer/pkg/command/root.go b/services/auth-bearer/pkg/command/root.go index 694500d4d63..c923e706fb2 100644 --- a/services/auth-bearer/pkg/command/root.go +++ b/services/auth-bearer/pkg/command/root.go @@ -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) } diff --git a/services/auth-machine/pkg/command/root.go b/services/auth-machine/pkg/command/root.go index 29d9cdc8e34..fb01026af9e 100644 --- a/services/auth-machine/pkg/command/root.go +++ b/services/auth-machine/pkg/command/root.go @@ -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) } diff --git a/services/frontend/pkg/command/root.go b/services/frontend/pkg/command/root.go index 313a134969b..4feac04e0bf 100644 --- a/services/frontend/pkg/command/root.go +++ b/services/frontend/pkg/command/root.go @@ -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) } diff --git a/services/gateway/pkg/command/root.go b/services/gateway/pkg/command/root.go index 41cddd994c8..fe058b91793 100644 --- a/services/gateway/pkg/command/root.go +++ b/services/gateway/pkg/command/root.go @@ -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) } diff --git a/services/graph-explorer/pkg/command/root.go b/services/graph-explorer/pkg/command/root.go index ad9e1be393e..1649def9831 100644 --- a/services/graph-explorer/pkg/command/root.go +++ b/services/graph-explorer/pkg/command/root.go @@ -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) } diff --git a/services/graph/pkg/command/root.go b/services/graph/pkg/command/root.go index 0e563e60e09..73b42c6d1aa 100644 --- a/services/graph/pkg/command/root.go +++ b/services/graph/pkg/command/root.go @@ -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) } diff --git a/services/groups/pkg/command/root.go b/services/groups/pkg/command/root.go index c0de62dfd05..4a7578fc591 100644 --- a/services/groups/pkg/command/root.go +++ b/services/groups/pkg/command/root.go @@ -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) } diff --git a/services/idm/pkg/command/root.go b/services/idm/pkg/command/root.go index 4db8342e21d..84208cba848 100644 --- a/services/idm/pkg/command/root.go +++ b/services/idm/pkg/command/root.go @@ -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) } diff --git a/services/idp/pkg/command/root.go b/services/idp/pkg/command/root.go index 409c036f069..9b396057963 100644 --- a/services/idp/pkg/command/root.go +++ b/services/idp/pkg/command/root.go @@ -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) } diff --git a/services/nats/pkg/command/root.go b/services/nats/pkg/command/root.go index b5167462842..583d2658db5 100644 --- a/services/nats/pkg/command/root.go +++ b/services/nats/pkg/command/root.go @@ -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) } diff --git a/services/notifications/pkg/command/root.go b/services/notifications/pkg/command/root.go index 17d52afe638..72c7dfda260 100644 --- a/services/notifications/pkg/command/root.go +++ b/services/notifications/pkg/command/root.go @@ -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) } diff --git a/services/ocdav/pkg/command/root.go b/services/ocdav/pkg/command/root.go index b96cc01813a..95de57e247a 100644 --- a/services/ocdav/pkg/command/root.go +++ b/services/ocdav/pkg/command/root.go @@ -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) } diff --git a/services/ocs/pkg/command/root.go b/services/ocs/pkg/command/root.go index 9e3436e0791..6d87fb6f204 100644 --- a/services/ocs/pkg/command/root.go +++ b/services/ocs/pkg/command/root.go @@ -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) } diff --git a/services/proxy/pkg/command/root.go b/services/proxy/pkg/command/root.go index 1f809d049fc..4c310fc6727 100644 --- a/services/proxy/pkg/command/root.go +++ b/services/proxy/pkg/command/root.go @@ -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) } diff --git a/services/search/pkg/command/root.go b/services/search/pkg/command/root.go index 204aab9f84e..9bed2b31589 100644 --- a/services/search/pkg/command/root.go +++ b/services/search/pkg/command/root.go @@ -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) } diff --git a/services/settings/pkg/command/root.go b/services/settings/pkg/command/root.go index dd53b3cae11..29812fe0585 100644 --- a/services/settings/pkg/command/root.go +++ b/services/settings/pkg/command/root.go @@ -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) } diff --git a/services/sharing/pkg/command/root.go b/services/sharing/pkg/command/root.go index fae443c937e..406e09b6fdf 100644 --- a/services/sharing/pkg/command/root.go +++ b/services/sharing/pkg/command/root.go @@ -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) } diff --git a/services/storage-publiclink/pkg/command/root.go b/services/storage-publiclink/pkg/command/root.go index 831cb046ece..141d7ac6da7 100644 --- a/services/storage-publiclink/pkg/command/root.go +++ b/services/storage-publiclink/pkg/command/root.go @@ -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) } diff --git a/services/storage-shares/pkg/command/root.go b/services/storage-shares/pkg/command/root.go index 5d8db7f5ec3..faf2066e6b9 100644 --- a/services/storage-shares/pkg/command/root.go +++ b/services/storage-shares/pkg/command/root.go @@ -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) } diff --git a/services/storage-system/pkg/command/root.go b/services/storage-system/pkg/command/root.go index 8e9847e6068..0f1cde0b654 100644 --- a/services/storage-system/pkg/command/root.go +++ b/services/storage-system/pkg/command/root.go @@ -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) } diff --git a/services/storage-users/pkg/command/root.go b/services/storage-users/pkg/command/root.go index ae9dd94c0e9..5ae9e6e86f5 100644 --- a/services/storage-users/pkg/command/root.go +++ b/services/storage-users/pkg/command/root.go @@ -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) } diff --git a/services/store/pkg/command/root.go b/services/store/pkg/command/root.go index 5396b1103e1..795a66a74cb 100644 --- a/services/store/pkg/command/root.go +++ b/services/store/pkg/command/root.go @@ -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) } diff --git a/services/thumbnails/pkg/command/root.go b/services/thumbnails/pkg/command/root.go index efa87a675e4..28588a261f9 100644 --- a/services/thumbnails/pkg/command/root.go +++ b/services/thumbnails/pkg/command/root.go @@ -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) } diff --git a/services/users/pkg/command/root.go b/services/users/pkg/command/root.go index 7ce50ddf076..c84c93603bb 100644 --- a/services/users/pkg/command/root.go +++ b/services/users/pkg/command/root.go @@ -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) } diff --git a/services/web/pkg/command/root.go b/services/web/pkg/command/root.go index ef57b495663..7dfe694e2c7 100644 --- a/services/web/pkg/command/root.go +++ b/services/web/pkg/command/root.go @@ -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) } diff --git a/services/webdav/pkg/command/root.go b/services/webdav/pkg/command/root.go index c8f857ca2cb..fd125591194 100644 --- a/services/webdav/pkg/command/root.go +++ b/services/webdav/pkg/command/root.go @@ -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) }