Skip to content

Commit

Permalink
Real small details...
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelBoucey committed Aug 16, 2024
1 parent d1e2ad5 commit 32c832a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/ip6addr.hs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ main = do
case t of
Right a -> TIO.putStrLn (unIPv6Addr $ fromJust a)
Left (_ :: SomeException) ->
TIO.putStrLn (p' <> " is an invalid prefix") >> exitFailure
TIO.putStrLn ("'" <> p' <> "' is an invalid prefix") >> exitFailure
out t i o =
if i /= mempty
then do
Expand Down Expand Up @@ -72,7 +72,7 @@ opts :: ParserInfo Options
opts = info (parseOptions <**> helper)
( fullDesc
<> progDesc "ip6addr"
<> header (showVer)
<> header showVer
)

parseOptions :: Parser Options
Expand Down

0 comments on commit 32c832a

Please sign in to comment.