mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-21 17:36:59 -05:00
admin: command-line: VERSION has variance, dont use it
This commit is contained in:
parent
a126811a15
commit
808f85e05f
2 changed files with 5 additions and 3 deletions
|
@ -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".
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue