summaryrefslogtreecommitdiff
path: root/cmd/gotosocial/commands.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gotosocial/commands.go')
-rw-r--r--cmd/gotosocial/commands.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/gotosocial/commands.go b/cmd/gotosocial/commands.go
index 0c16d1fb5..9b61a66ec 100644
--- a/cmd/gotosocial/commands.go
+++ b/cmd/gotosocial/commands.go
@@ -22,12 +22,12 @@ import (
"github.com/urfave/cli/v2"
)
-func getCommands() []*cli.Command {
+func getCommands(allFlags []cli.Flag) []*cli.Command {
commands := []*cli.Command{}
commandSets := [][]*cli.Command{
- serverCommands(),
- adminCommands(),
- testrigCommands(),
+ serverCommands(allFlags),
+ adminCommands(allFlags),
+ testrigCommands(allFlags),
}
for _, cs := range commandSets {
commands = append(commands, cs...)