From ab23d033b63b7413a0018417d245ad7c3fd5dcc3 Mon Sep 17 00:00:00 2001 From: Tobias Speicher Date: Wed, 1 Nov 2023 22:13:57 +0100 Subject: [PATCH] Add version command output to JSON format documentation --- doc/075_scripting.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/075_scripting.rst b/doc/075_scripting.rst index 71ecd4c2b..3be5cc4c9 100644 --- a/doc/075_scripting.rst +++ b/doc/075_scripting.rst @@ -576,3 +576,17 @@ The snapshots command returns a single JSON object. +------------------------------+-----------------------------------------------------+ | ``compression_space_saving`` | Overall space saving due to compression | +------------------------------+-----------------------------------------------------+ + + +version +------- + +The version command returns a single JSON object. + ++----------------+--------------------+ +| ``version`` | restic version | ++----------------+--------------------+ +| ``go_version`` | Go compile version | ++----------------+--------------------+ +| ``go_target`` | Go target platform | ++----------------+--------------------+