From bb86d12c369ad4093ca641fdd48b0b95e686d282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=8A=E1=B4=8F=E1=B4=87=20=E1=B4=84=CA=9C=E1=B4=87?= =?UTF-8?q?=C9=B4?= Date: Sat, 7 Feb 2026 13:38:53 -0500 Subject: [PATCH] cmd: show detected config path in web command help (#8152) Co-authored-by: Claude Opus 4.6 --- cmd/gogs/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gogs/web.go b/cmd/gogs/web.go index b19361995..a2cf89df3 100644 --- a/cmd/gogs/web.go +++ b/cmd/gogs/web.go @@ -52,7 +52,7 @@ and it takes care of all the other things for you`, Action: runWeb, Flags: []cli.Flag{ stringFlag("port, p", "3000", "Temporary port number to prevent conflict"), - stringFlag("config, c", "", "Custom configuration file path"), + stringFlag("config, c", filepath.Join(conf.CustomDir(), "conf", "app.ini"), "Custom configuration file path"), }, }