fix flag parsing

This commit is contained in:
A.Unger
2021-03-04 14:33:16 +01:00
parent 96521d23a9
commit e8b1665f63
12 changed files with 78 additions and 66 deletions
+2 -1
View File
@@ -4,10 +4,11 @@ import (
"os"
"github.com/owncloud/ocis/web/pkg/command"
"github.com/owncloud/ocis/web/pkg/config"
)
func main() {
if err := command.Execute(); err != nil {
if err := command.Execute(config.New()); err != nil {
os.Exit(1)
}
}