diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-12-15 23:49:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-15 15:49:01 +0000 |
commit | 047c69bd85bc5579ce6f352d7edf7fb950d84b80 (patch) | |
tree | 0ae581d24c0fcbeb97d943b98835d7b876affedc /cmd/generate.go | |
parent | 3849fd2ac2163b109f9dc1e873ffb9bc8f53c63b (diff) | |
download | gitea-047c69bd85bc5579ce6f352d7edf7fb950d84b80.tar.gz gitea-047c69bd85bc5579ce6f352d7edf7fb950d84b80.zip |
Improve CLI code and descriptions (#28482)
* Close #28444
* Actually, it doesn't need to use that trick because it looks like it
is not necessary, no user really needs it
* Remove the hidden (legacy) "doctor" subcommand and update documents
* Fix "actions" usage
![image](https://github.com/go-gitea/gitea/assets/2114189/3c2b34a7-4f92-4a6c-96fd-9505e413d4ec)
Diffstat (limited to 'cmd/generate.go')
-rw-r--r-- | cmd/generate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/generate.go b/cmd/generate.go index 5922617217..4ab10da22a 100644 --- a/cmd/generate.go +++ b/cmd/generate.go @@ -18,7 +18,7 @@ var ( // CmdGenerate represents the available generate sub-command. CmdGenerate = &cli.Command{ Name: "generate", - Usage: "Command line interface for running generators", + Usage: "Generate Gitea's secrets/keys/tokens", Subcommands: []*cli.Command{ subcmdSecret, }, |