README: update usage output with recent changes

This commit is contained in:
Clément Bœsch
2021-08-27 13:02:58 +02:00
parent dbf002296b
commit 101ad07999
+2 -1
View File
@@ -62,6 +62,7 @@ Flags:
--log string log HTTP requests in the combined log format --log string log HTTP requests in the combined log format
--max-size int the maximum size of the repository in bytes --max-size int the maximum size of the repository in bytes
--no-auth disable .htpasswd authentication --no-auth disable .htpasswd authentication
--no-verify-upload do not verify the integrity of uploaded data. DO NOT enable unless the rest-server runs on a very low-power device
--path string data directory (default "/tmp/restic") --path string data directory (default "/tmp/restic")
--private-repos users can only access their private repo --private-repos users can only access their private repo
--prometheus enable Prometheus metrics --prometheus enable Prometheus metrics
@@ -69,7 +70,7 @@ Flags:
--tls turn on TLS support --tls turn on TLS support
--tls-cert string TLS certificate path --tls-cert string TLS certificate path
--tls-key string TLS key path --tls-key string TLS key path
-V, --version output version and exit -v, --version version for rest-server
``` ```
By default the server persists backup data in `/tmp/restic`. To start the server with a custom persistence directory and with authentication disabled: By default the server persists backup data in `/tmp/restic`. To start the server with a custom persistence directory and with authentication disabled: