Commit b71ee1ce authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Add an extra space when displaying package version lists

eg: "xmonad [0.1, 0.2, 0.3]" rather than "xmonad [0.1,0.2,0.3]"
it's just a tad easier to read.
parent 7fa5e2a7
...@@ -48,7 +48,7 @@ list cfg pats = do ...@@ -48,7 +48,7 @@ list cfg pats = do
doList :: [PkgInfo] -> IO () doList :: [PkgInfo] -> IO ()
doList ps = do doList ps = do
putStr $ padTo 35 $ pkgName (package d) ++ " [" ++ concat (intersperse "," versions) ++ "]" putStr $ padTo 35 $ pkgName (package d) ++ " [" ++ concat (intersperse ", " versions) ++ "]"
putStrLn syn putStrLn syn
where where
info = last ps info = last ps
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment