main: format exit errors as JSON when using --json

This commit is contained in:
Michael Terry
2024-07-28 09:08:10 -04:00
parent 2d250a9135
commit 6283915f86
2 changed files with 42 additions and 6 deletions

View File

@@ -0,0 +1,6 @@
Enhancement: Format exit errors as JSON with --json
Restic now prints any exit error messages as JSON when requested.
https://github.com/restic/restic/issues/4948
https://github.com/restic/restic/pull/4952