From 282e9565c9166b0395d8953110ca073052a09e72 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sat, 28 Jul 2018 20:24:19 -0700 Subject: [PATCH] Mentioning new --info --json option in NEWS. --- NEWS | 4 ++-- borgmatic/borg/info.py | 2 +- borgmatic/borg/list.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 820f793a..3cc473c9 100644 --- a/NEWS +++ b/NEWS @@ -2,8 +2,8 @@ * Skip before/after backup hooks when only doing --prune, --check, --list, and/or --info. * #71: Support for XDG_CONFIG_HOME environment variable for specifying alternate user ~/.config/ path. - * #74: Support for Borg --list --json options via borgmatic command-line to list all archives in - JSON format, ideal for programmatic consumption. + * #74, #83: Support for Borg --json option via borgmatic command-line to --list archives or show + archive --info in JSON format, ideal for programmatic consumption. * #38, #76: Upgrade ruamel.yaml compatibility version range and fix support for Python 3.7. * #77: Skip non-"*.yaml" config filenames in /etc/borgmatic.d/ so as not to parse backup files, editor swap files, etc. diff --git a/borgmatic/borg/info.py b/borgmatic/borg/info.py index 359da3f9..b7417a80 100644 --- a/borgmatic/borg/info.py +++ b/borgmatic/borg/info.py @@ -8,7 +8,7 @@ logger = logging.getLogger(__name__) def display_archives_info( - verbosity, repository, storage_config, local_path='borg', remote_path=None, json=False + verbosity, repository, storage_config, local_path='borg', remote_path=None, json=False ): ''' Given a verbosity flag, a local or remote repository path, and a storage config dict, diff --git a/borgmatic/borg/list.py b/borgmatic/borg/list.py index fb11091e..30427814 100644 --- a/borgmatic/borg/list.py +++ b/borgmatic/borg/list.py @@ -8,7 +8,7 @@ logger = logging.getLogger(__name__) def list_archives( - verbosity, repository, storage_config, local_path='borg', remote_path=None, json=False + verbosity, repository, storage_config, local_path='borg', remote_path=None, json=False ): ''' Given a verbosity flag, a local or remote repository path, and a storage config dict,