aboutsummaryrefslogtreecommitdiff
path: root/Command/Status.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-02-14 03:49:48 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-02-14 03:49:48 -0400
commitcb631ce518b715e36cb3c476d576696f0630738f (patch)
treef7790f49e3b07eeb0ac86f7fa1b24d06eccbcd2e /Command/Status.hs
parent8fbc529d68feb1f40ac7dd44514ac387ba1237ed (diff)
whereis: Prints the urls of files that the web special remote knows about.
Diffstat (limited to 'Command/Status.hs')
-rw-r--r--Command/Status.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Status.hs b/Command/Status.hs
index 5facaab9b..dfe847bb8 100644
--- a/Command/Status.hs
+++ b/Command/Status.hs
@@ -113,7 +113,7 @@ supported_remote_types = stat "supported remote types" $ json unwords $
remote_list :: TrustLevel -> String -> Stat
remote_list level desc = stat n $ nojson $ lift $ do
- us <- M.keys <$> (M.union <$> uuidMap <*> remoteMap)
+ us <- M.keys <$> (M.union <$> uuidMap <*> remoteMap Remote.name)
rs <- fst <$> trustPartition level us
s <- prettyPrintUUIDs n rs
return $ if null s then "0" else show (length rs) ++ "\n" ++ beginning s