浏览代码

add example showing --show-version --show-rc

(cherry picked from commit ed1a8b5cf1009423cb34753e9c1e0dda3b4b7b91)
Thomas Waldmann 7 年之前
父节点
当前提交
fcaf764604
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      docs/usage/general.rst

+ 8 - 0
docs/usage/general.rst

@@ -30,3 +30,11 @@ Common options
 All Borg commands share these options:
 
 .. include:: common-options.rst.inc
+
+Examples
+~~~~~~~~
+::
+
+    # Create an archive and log: borg version, files list, return code
+    $ borg create --show-version --list --show-rc /path/to/repo::my-files files
+