add json formatted list of remotes
Wherever a list of remotes is shown, --json now enables a json formatted list.
This commit is contained in:
parent
2f4d4d1c45
commit
5bc32c7f34
3 changed files with 27 additions and 12 deletions
|
@ -131,7 +131,7 @@ checkKeyNumCopies key file numcopies = do
|
|||
let present = length safelocations
|
||||
if present < needed
|
||||
then do
|
||||
ppuuids <- Remote.prettyPrintUUIDs untrustedlocations
|
||||
ppuuids <- Remote.prettyPrintUUIDs "untrusted" untrustedlocations
|
||||
warning $ missingNote (filename file key) present needed ppuuids
|
||||
return False
|
||||
else return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue