Skip to content

Commit

Permalink
fix:close: --infer-costs no longer implies -x/--explicit [#1826]
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Dec 27, 2024
1 parent 5644dc2 commit 14c3bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hledger/Hledger/Cli/Commands/Close.hs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ close copts@CliOpts{rawopts_=rawopts, reportspec_=rspec0} j = do
opendate = addDays 1 closedate

-- should we show the amount(s) on the equity posting(s) ?
explicit = boolopt "explicit" rawopts || copts ^. infer_costs
explicit = boolopt "explicit" rawopts

-- the accounts to close
argsacctq = filterQuery (\q -> queryIsAcct q || queryIsType q) argsq
Expand Down

0 comments on commit 14c3bfb

Please sign in to comment.