summaryrefslogtreecommitdiff
path: root/Propellor/CmdLine.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Propellor/CmdLine.hs')
-rw-r--r--Propellor/CmdLine.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Propellor/CmdLine.hs b/Propellor/CmdLine.hs
index d1a758ab..ed762e70 100644
--- a/Propellor/CmdLine.hs
+++ b/Propellor/CmdLine.hs
@@ -74,9 +74,10 @@ defaultMain getprops = do
headMaybe $ catMaybes $ map (\get -> get host) getprops
unknownhost :: HostName -> IO a
-unknownhost h = errorMessage $ unwords
- [ "Unknown host:", h
- , "(perhaps you should specify the real hostname on the command line?)"
+unknownhost h = errorMessage $ unlines
+ [ "Unknown host: " ++ h
+ , "(Perhaps you should specify the real hostname on the command line?)"
+ , "(Or, edit propellor's config.hs to configure this host)"
]
buildFirst :: CmdLine -> IO () -> IO ()