Parcourir la source

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

Thomas Waldmann il y a 7 ans
Parent
commit
ed1a8b5cf1
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  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
+