[documentation] Update usage / help message to include supported archive schema.

This commit is contained in:
Ciprian Dorin Craciun 2021-12-22 23:33:57 +02:00
parent af75403965
commit c8ecd98e8b
4 changed files with 18 additions and 2 deletions

View file

@ -1257,3 +1257,7 @@ func gobUnmarshal (_data []byte, _object interface{}) (error) {
//go:embed usage.txt
var usageText string
func init () {
usageText = strings.ReplaceAll (usageText, "@{SCHEMA}", CurrentSchemaVersion)
}

View file

@ -1,3 +1,4 @@
==== kawipiko -- blazingly fast static HTTP server ====
| Documentation, issues and sources:
@ -32,5 +33,8 @@
--progress
--debug
** supported archive version: @{SCHEMA}
** for details see:
https://github.com/volution/kawipiko#kawipiko-archiver
https://github.com/volution/kawipiko/blob/development/documentation/manual-archiver.rst

View file

@ -2442,3 +2442,7 @@ var _reportUsageIoWrites = & StatMetric {
//go:embed usage.txt
var usageText string
func init () {
usageText = strings.ReplaceAll (usageText, "@{SCHEMA}", CurrentSchemaVersion)
}

View file

@ -1,3 +1,4 @@
==== kawipiko -- blazingly fast static HTTP server ====
| Documentation, issues and sources:
@ -50,5 +51,8 @@
--report ; --quiet ; --debug
--dummy ; --dummy-empty ; --dummy-delay <duration>
** supported archive version: @{SCHEMA}
** for details see:
https://github.com/volution/kawipiko#kawipiko-server
https://github.com/volution/kawipiko/blob/development/documentation/manual-server.rst