You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command line flags are ignored when run without web, even though the CmdWeb Action is taken.
./gitea web -p 2000
./gitea -p 2000
The default behavior should probably either be to print the help message or to find a way to shim and run ./gitea as if it had been run as ./gitea web.
* fix: Accept web-command cli flags if web-command is commited
* Added flags of default cmd CmdWeb to app-wide flags
* If command *is* specified app-wide flags are ignored
Resolves: #5065
Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de>
* Removed style breaking newline
* broken windows need to be fixed
* provides requested change
Bug
Command line flags are ignored when run without
web
, even though theCmdWeb
Action is taken.The default behavior should probably either be to print the help message or to find a way to shim and run
./gitea
as if it had been run as./gitea web
.https://github.com/go-gitea/gitea/blob/master/main.go#L52
Proposal
I vote
./gitea
should be have as./gitea help
. Thoughts?The text was updated successfully, but these errors were encountered: