From fcaf764604fe0bd299fe42add5601455438ea7ae Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 12 Oct 2017 06:03:12 +0200 Subject: [PATCH] add example showing --show-version --show-rc (cherry picked from commit ed1a8b5cf1009423cb34753e9c1e0dda3b4b7b91) --- docs/usage/general.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/usage/general.rst b/docs/usage/general.rst index 127ab6676..5629aa5b8 100644 --- a/docs/usage/general.rst +++ b/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 +