Skip to content

Commit

Permalink
Add a missing top function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelBoucey committed Aug 15, 2024
1 parent a3c79fe commit d9e7a1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/ip6addr.hs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ data Options =
, address :: !String
}

showVer :: String
showVer = "ip6addr v" <> showVersion version <> " (c) Michel Boucey 2011-2024"

main :: IO ()
Expand Down Expand Up @@ -82,7 +83,7 @@ parseOptions =
(flag Canonical Canonical
( short 'c'
<> long "canonical"
<> help "In conformation with RFC 5952 (default)"
<> help "In conformation with RFC 5952 (default output)"
)
<|>
flag' NoIPv4
Expand Down Expand Up @@ -130,5 +131,5 @@ parseOptions =
<> value ""
)
<*>
argument str (metavar "<IPv6 address>" <> value "")
argument str (metavar "IPv6 address" <> value "")

0 comments on commit d9e7a1a

Please sign in to comment.