From 42f207232beb57c18f67884e7c28424dba3c84c6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 3 Apr 2014 00:59:26 -0400 Subject: debianization and a wrapper program for /usr/bin --- Propellor/CmdLine.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Propellor/CmdLine.hs') 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 () -- cgit v1.3-2-g0d8e