This website works better with JavaScript.
Home
Help
Register
Sign In
floli
/
borgmatic
forked from
witten/borgmatic
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Pretty format json output.
master
Florian Lindner
2 years ago
parent
c4792aebb0
commit
c57abcfda6
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
borgmatic/commands/borgmatic.py
+ 1
- 1
borgmatic/commands/borgmatic.py
View File
@ -155,7 +155,7 @@ def _run_commands(args, consistency, local_path, location, remote_path, retentio
unexpanded_repository
,
)
if
args
.
json
:
sys
.
stdout
.
write
(
json
.
dumps
(
json_results
)
)
sys
.
stdout
.
write
(
json
.
dumps
(
json_results
,
indent
=
2
)
)
def
_run_commands_on_repository
(
Write
Preview
Loading…
Cancel
Save