summaryrefslogtreecommitdiff
path: root/cmd/gotosocial/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gotosocial/debug.go')
-rw-r--r--cmd/gotosocial/debug.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/gotosocial/debug.go b/cmd/gotosocial/debug.go
index b1a1560ec..b32a73920 100644
--- a/cmd/gotosocial/debug.go
+++ b/cmd/gotosocial/debug.go
@@ -21,7 +21,6 @@ package main
import (
"github.com/spf13/cobra"
configaction "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action/debug/config"
- "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/flag"
"github.com/superseriousbusiness/gotosocial/internal/config"
)
@@ -41,8 +40,7 @@ func debugCommands() *cobra.Command {
return run(cmd.Context(), configaction.Config)
},
}
- flag.Server(debugConfigCmd, config.Defaults)
-
+ config.AddServerFlags(debugConfigCmd)
debugCmd.AddCommand(debugConfigCmd)
return debugCmd
}