whereis --json: Urls are now listed inside the remote that claims them, rather than all together at the end.
This commit is contained in:
parent
d9f9153c82
commit
b26ce646e4
6 changed files with 59 additions and 23 deletions
|
@ -425,7 +425,7 @@ reposizes_stats = stat desc $ nojson $ do
|
|||
let maxlen = maximum (map (length . snd) l)
|
||||
descm <- lift uuidDescriptions
|
||||
-- This also handles json display.
|
||||
s <- lift $ prettyPrintUUIDsWith (Just "size") desc descm $
|
||||
s <- lift $ prettyPrintUUIDsWith (Just "size") desc descm (Just . show) $
|
||||
map (\(u, sz) -> (u, Just $ mkdisp sz maxlen)) l
|
||||
return $ countRepoList (length l) s
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue