diff options
Diffstat (limited to 'cmd/gotosocial/debug.go')
-rw-r--r-- | cmd/gotosocial/debug.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gotosocial/debug.go b/cmd/gotosocial/debug.go index e5a26b7fa..b1a1560ec 100644 --- a/cmd/gotosocial/debug.go +++ b/cmd/gotosocial/debug.go @@ -35,7 +35,7 @@ func debugCommands() *cobra.Command { Use: "config", Short: "print the collated config (derived from env, flag, and config file) to stdout", PreRunE: func(cmd *cobra.Command, args []string) error { - return preRun(cmd) + return preRun(preRunArgs{cmd: cmd, skipValidation: true}) // don't do validation for debugging config }, RunE: func(cmd *cobra.Command, args []string) error { return run(cmd.Context(), configaction.Config) |