0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2025-03-13 09:58:07 -04:00

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

(cherry picked from commit 808f85e05f)
This commit is contained in:
Earl Warren 2024-01-23 18:09:28 +01:00 committed by github-actions[bot]
parent 928d1db7be
commit 7ed0e4dc3b
2 changed files with 5 additions and 3 deletions

View file

@ -20,8 +20,6 @@ NAME:
USAGE:
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:
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 '```'
}
function section_help() {
section "##" "" 'forgejo `--help`' | sed -e '/^VERSION:/d' -e '/built with GNU Make/d'
}
function generate() {
front
section "##" "" 'forgejo `--help`'
section_help
section "##" "forgejo-cli"