瀏覽代碼

docs: borg serve --repo is not supported, #8591

Thomas Waldmann 1 月之前
父節點
當前提交
27ca97884c
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/borg/archiver/serve_cmd.py

+ 4 - 0
src/borg/archiver/serve_cmd.py

@@ -33,6 +33,10 @@ class ServeMixIn:
         - Getting started by some other means (not by the borg client) as a long-running socket
         - Getting started by some other means (not by the borg client) as a long-running socket
           server to be used for borg clients using a socket://... repository (see the `--socket`
           server to be used for borg clients using a socket://... repository (see the `--socket`
           option if you do not want to use the default path for the socket and pid file).
           option if you do not want to use the default path for the socket and pid file).
+
+        Please note that `borg serve` does not support giving a specific repository via the
+        `--repo` option or `BORG_REPO` environment variable. It is always the borg client which
+        specifies the repo to use when talking to `borg serve`.
         """
         """
         )
         )
         subparser = subparsers.add_parser(
         subparser = subparsers.add_parser(