Просмотр исходного кода

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

(cherry picked from commit ed1a8b5cf1009423cb34753e9c1e0dda3b4b7b91)
Thomas Waldmann 7 лет назад
Родитель
Сommit
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
+