summaryrefslogtreecommitdiff
path: root/cmd/gotosocial/servercommands.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gotosocial/servercommands.go')
-rw-r--r--cmd/gotosocial/servercommands.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gotosocial/servercommands.go b/cmd/gotosocial/servercommands.go
index 7a1692b79..fb6574216 100644
--- a/cmd/gotosocial/servercommands.go
+++ b/cmd/gotosocial/servercommands.go
@@ -23,7 +23,7 @@ import (
"github.com/urfave/cli/v2"
)
-func serverCommands() []*cli.Command {
+func serverCommands(allFlags []cli.Flag) []*cli.Command {
return []*cli.Command{
{
Name: "server",
@@ -33,7 +33,7 @@ func serverCommands() []*cli.Command {
Name: "start",
Usage: "start the gotosocial server",
Action: func(c *cli.Context) error {
- return runAction(c, server.Start)
+ return runAction(c, allFlags, server.Start)
},
},
},