hledger 1.13.1 → 1.13.2
raw patch · 5 files changed
+14/−10 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGES.md +4/−0
- Hledger/Cli/Commands/Print.hs +2/−2
- Hledger/Cli/Commands/Register.hs +2/−2
- Hledger/Cli/Commands/Stats.hs +1/−1
- hledger.cabal +5/−5
CHANGES.md view
@@ -1,6 +1,10 @@ User-visible changes in the hledger command line tool and library. +# 1.13.2 (2019/02/04)++- print, register: restore the accidentally dropped -o, -O flags (#967)+ # 1.13.1 (2019/02/02) - stop depending on here to avoid haskell-src-meta/stackage blockage.
Hledger/Cli/Commands/Print.hs view
@@ -28,14 +28,14 @@ printmode = hledgerCommandMode ($(embedFileRelative "Hledger/Cli/Commands/Print.txt"))- [let arg = "STR" in+ ([let arg = "STR" in flagReq ["match","m"] (\s opts -> Right $ setopt "match" s opts) arg ("show the transaction whose description is most similar to "++arg++", and is most recent") ,flagNone ["explicit","x"] (setboolopt "explicit") "show all amounts explicitly" ,flagNone ["new"] (setboolopt "new") "show only newer-dated transactions added in each file since last run"- ]+ ] ++ outputflags) [generalflagsgroup1] [] ([], Just $ argsFlag "[QUERY]")
Hledger/Cli/Commands/Register.hs view
@@ -29,7 +29,7 @@ registermode = hledgerCommandMode ($(embedFileRelative "Hledger/Cli/Commands/Register.txt"))- [flagNone ["cumulative"] (\opts -> setboolopt "change" opts)+ ([flagNone ["cumulative"] (\opts -> setboolopt "change" opts) "show running total from report start date (default)" ,flagNone ["historical","H"] (\opts -> setboolopt "historical" opts) "show historical running total/balance (includes postings before report start date)\n "@@ -45,7 +45,7 @@ #endif ++ " or $COLUMNS). -wN,M sets description width as well." )- ]+ ] ++ outputflags) [generalflagsgroup1] [] ([], Just $ argsFlag "[QUERY]")
Hledger/Cli/Commands/Stats.hs view
@@ -32,7 +32,7 @@ statsmode = hledgerCommandMode ($(embedFileRelative "Hledger/Cli/Commands/Stats.txt"))- [flagReq ["output-file","o"] (\s opts -> Right $ setopt "output-file" s opts) "FILE" "write output to FILE. A file extension matching one of the above formats selects that format."+ [flagReq ["output-file","o"] (\s opts -> Right $ setopt "output-file" s opts) "FILE" "write output to FILE." ] [generalflagsgroup1] []
hledger.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: a3b985db2886f124f83c06d2753ba621ed2598501eb0371a4cf46c84f0d553e2+-- hash: 52b4fcd3436c3de6dd5b2e31fb2fac6b747cfb66b069bb84b318ce086ff7cdf5 name: hledger-version: 1.13.1+version: 1.13.2 synopsis: Command-line interface for the hledger accounting tool description: This is hledger's command-line interface. Its basic function is to read a plain text file describing@@ -136,7 +136,7 @@ other-modules: Paths_hledger ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans -optP-Wno-nonportable-include-path- cpp-options: -DVERSION="1.13.1"+ cpp-options: -DVERSION="1.13.2" build-depends: Decimal , Diff@@ -187,7 +187,7 @@ hs-source-dirs: app ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans -optP-Wno-nonportable-include-path- cpp-options: -DVERSION="1.13.1"+ cpp-options: -DVERSION="1.13.2" build-depends: Decimal , ansi-terminal >=0.6.2.3@@ -239,7 +239,7 @@ hs-source-dirs: test ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans -optP-Wno-nonportable-include-path- cpp-options: -DVERSION="1.13.1"+ cpp-options: -DVERSION="1.13.2" build-depends: Decimal , ansi-terminal >=0.6.2.3