mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-27 16:35:57 +00:00
fix: CLI is forgejo not Forgejo (#8049)
> **Warning** note to self: update the docs CLI page right after it is merged. Regression from https://codeberg.org/forgejo/forgejo/pulls/8035 ## Checklist The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org). ### Tests Check the USAGE line: From the forgejo branch: ```sh $ make TAGS='sqlite sqlite_unlock_notify' forgejo $ ./forgejo help | head ./forgejo help | head NAME: Forgejo - Beyond coding. We forge. USAGE: Forgejo [global options] [command [command options]] ``` From this pull request: ```sh $ make TAGS='sqlite sqlite_unlock_notify' forgejo $ ./forgejo help | head NAME: forgejo - Beyond coding. We forge. USAGE: forgejo [global options] [command [command options]] ``` ### Documentation - [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change. - [x] I did not document these changes and I do not expect someone else to do it. ### Release notes - [x] I do not want this change to show in the release notes. - [ ] I want the title to show in the release notes with a link to this pull request. - [ ] I want the content of the `release-notes/<pull request number>.md` to be be used for the release notes instead of the title. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8049 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
parent
ac1f1a9cfb
commit
e38e761d5b
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ func NewMainApp(version, versionExtra string) *cli.Command {
|
|||
|
||||
func innerNewMainApp(version, versionExtra string, subCmdsStandaloneArgs, subCmdWithConfigArgs []*cli.Command, globalFlagsArgs func() []cli.Flag) *cli.Command {
|
||||
app := &cli.Command{}
|
||||
app.Name = "Forgejo"
|
||||
app.Name = "forgejo"
|
||||
app.Usage = "Beyond coding. We forge."
|
||||
app.Description = `By default, forgejo will start serving using the web-server with no argument, which can alternatively be run by running the subcommand "web".`
|
||||
app.Version = version + versionExtra
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue