migrate to new optparse
This commit is contained in:
parent
7fc24d236c
commit
d6d9ebb881
|
@ -52,7 +52,7 @@ executable adiff
|
||||||
build-depends: base ^>=4.13.0.0,
|
build-depends: base ^>=4.13.0.0,
|
||||||
mmap ^>=0.5,
|
mmap ^>=0.5,
|
||||||
regex-tdfa ^>= 1.3,
|
regex-tdfa ^>= 1.3,
|
||||||
optparse-applicative ^>=0.15,
|
optparse-applicative ^>=0.16,
|
||||||
bytestring ^>= 0.10.12,
|
bytestring ^>= 0.10.12,
|
||||||
vector ^>=0.12,
|
vector ^>=0.12,
|
||||||
utf8-string ^>=1.0
|
utf8-string ^>=1.0
|
||||||
|
|
|
@ -18,5 +18,5 @@ versionOption prog =
|
||||||
helperOption :: Parser (a -> a)
|
helperOption :: Parser (a -> a)
|
||||||
helperOption =
|
helperOption =
|
||||||
abortOption
|
abortOption
|
||||||
ShowHelpText
|
(ShowHelpText Nothing)
|
||||||
(long "help" <> short 'h' <> help "Show this help text")
|
(long "help" <> short 'h' <> help "Show this help text")
|
||||||
|
|
Loading…
Reference in a new issue