diff --git a/scat.cabal b/scat.cabal index 3633e77..e8413e8 100644 --- a/scat.cabal +++ b/scat.cabal @@ -70,7 +70,7 @@ executable scat build-depends: base >=4.5 && <5 , scrypt == 0.5.* , bytestring - , optparse-applicative >= 0.5 && <0.10 + , optparse-applicative >= 0.5 , mtl , vector == 0.10.* , ansi-terminal >= 0.6.1 diff --git a/src/Scat/Options.hs b/src/Scat/Options.hs index a8d7cfb..64da707 100644 --- a/src/Scat/Options.hs +++ b/src/Scat/Options.hs @@ -84,7 +84,7 @@ options = Options <> metavar "SCHEMA" <> value "safe" <> showDefault) - <*> optional (option + <*> optional (option auto (short 'n' <> long "size" <> help "Size parameter"