0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-24 18:09:26 -05:00

admin: command-line: VERSION has variance, dont use it

This commit is contained in:
Earl Warren 2024-01-23 18:09:28 +01:00
parent a126811a15
commit 808f85e05f
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 5 additions and 3 deletions

View file

@ -20,8 +20,6 @@ NAME:
USAGE: USAGE:
Forgejo [global options] command [command options] [arguments...] Forgejo [global options] command [command options] [arguments...]
VERSION:
1.21.3+0 built with GNU Make 4.4.1, go1.21.5 : bindata, timetzdata, sqlite, sqlite_unlock_notify
DESCRIPTION: DESCRIPTION:
By default, forgejo will start serving using the web-server with no argument, which can alternatively be run by running the subcommand "web". By default, forgejo will start serving using the web-server with no argument, which can alternatively be run by running the subcommand "web".

View file

@ -63,10 +63,14 @@ function section() {
echo '```' echo '```'
} }
function section_help() {
section "##" "" 'forgejo `--help`' | sed -e '/^VERSION:/d' -e '/built with GNU Make/d'
}
function generate() { function generate() {
front front
section "##" "" 'forgejo `--help`' section_help
section "##" "forgejo-cli" section "##" "forgejo-cli"