@@ -1,5 +1,6 @@
11-- | A clone in Haskell of the zdump(8) command, including most of
2−-- the bugs. This is useful for testing the Haskell implementation
2+-- the bugs, that takes paths to Olson files instead of timezone
3+-- names. This is useful for testing the Haskell implementation
34-- of the Olson timezone parser and renderer against the reference
45-- implementation in C. But less useful than it might seem at first,
56-- because Haskell rounds historical solar mean timezones to the
@@ -17,12 +18,14 @@ import System.Locale (defaultTimeLocale)
1718
1819version :: IO a
1920version = do
20− putStrLn "hzdump version 0.1, clone of zdump 1.7 with -c option fixed"
21+ putStrLn "hzdump version 0.1, clone of zdump 1.7 -c option fixed,"
22+ putStrLn "takes zone file paths instead of zone specifications"
2123 exitSuccess
2224
2325usage :: IO a
2426usage = do
25− putStrLn "usage: hzdump [--version] [-v] [-c cutoff] zonename ..."
27+ putStrLn "usage: hzdump [--version] [-v] [-c cutoff] zone-file-path ..."
28+ putStrLn " where cutoff is lo-year,hi-year or hi-year"
2629 exitWith $ ExitFailure 1
2730
2831illegalOpt :: Char -> IO a -- sic