cmdargs 0.10.10 → 0.10.11
raw patch · 3 files changed
+4/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGES.txt +2/−0
- System/Console/CmdArgs/Explicit/Help.hs +1/−1
- cmdargs.cabal +1/−1
CHANGES.txt view
@@ -1,5 +1,7 @@ Changelog for CmdArgs +0.10.11+ #15, never put [brackets] around optional args in Explicit 0.10.10 #14, fix @ file arguments 0.10.9
System/Console/CmdArgs/Explicit/Help.hs view
@@ -140,7 +140,7 @@ helpArgs :: ([Arg a], Maybe (Arg a)) -> [String]-helpArgs (ys,y) = [['['|r] ++ argType x ++ [']'|r] | (i,x) <- zip [0..] xs, let r = req > i]+helpArgs (ys,y) = [['['|o] ++ argType x ++ [']'|o] | (i,x) <- zip [0..] xs, let o = False && req <= i] where xs = ys ++ maybeToList y req = maximum $ 0 : [i | (i,x) <- zip [1..] xs, argRequire x]
cmdargs.cabal view
@@ -1,7 +1,7 @@ cabal-version: >= 1.6 build-type: Simple name: cmdargs-version: 0.10.10+version: 0.10.11 license: BSD3 license-file: LICENSE category: Console