Merge pull request #44 from owncloud/remove-arg-usage

Remove arg usage as konnnect specific args are not supported anymore
This commit is contained in:
Alex Unger
2020-03-02 09:00:15 +01:00
committed by GitHub
+3 -4
View File
@@ -26,10 +26,9 @@ import (
// Server is the entrypoint for the server command.
func Server(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "server",
Usage: "Start integrated server",
Flags: flagset.ServerWithConfig(cfg),
ArgsUsage: "identity-manger name (one of ldap, kc, dummy, cookie",
Name: "server",
Usage: "Start integrated server",
Flags: flagset.ServerWithConfig(cfg),
Before: func(c *cli.Context) error {
if cfg.HTTP.Root != "/" {
cfg.HTTP.Root = strings.TrimSuffix(cfg.HTTP.Root, "/")