summaryrefslogtreecommitdiff
path: root/Messages
diff options
context:
space:
mode:
Diffstat (limited to 'Messages')
-rw-r--r--Messages/JSON.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Messages/JSON.hs b/Messages/JSON.hs
index 6c22d9537..fb288b735 100644
--- a/Messages/JSON.hs
+++ b/Messages/JSON.hs
@@ -104,6 +104,7 @@ progress maction size bytesprocessed = emit $ case maction of
Object o = object
[ "byte-progress" .= n
, "percent-progress" .= showPercentage 2 (percentage size n)
+ , "total-size" .= size
]
-- A value that can be displayed either normally, or as JSON.