Explorar o código

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

Thomas Waldmann %!s(int64=7) %!d(string=hai) anos
pai
achega
ed1a8b5cf1
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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
+