diff options
| author | Joey Hess <joey@kitenet.net> | 2014-04-03 00:59:26 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-04-03 01:55:49 -0400 |
| commit | 42f207232beb57c18f67884e7c28424dba3c84c6 (patch) | |
| tree | fe389f774e2f0de6cd5562b9b349f727319cc03f /Propellor | |
| parent | 167609746d22951477abd6490b34480205c659af (diff) | |
debianization and a wrapper program for /usr/bin
Diffstat (limited to 'Propellor')
| -rw-r--r-- | Propellor/CmdLine.hs | 7 |
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 () |
