fix: add, commodities, diff: support the --conf and -n/--no-conf flags [#2446]

This commit is contained in:
Simon Michael 2025-08-26 14:01:48 +01:00
parent a28c933677
commit b5cb1d08d0
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ addmode = hledgerCommandMode
$(embedFileRelative "Hledger/Cli/Commands/Add.txt")
[flagNone ["no-new-accounts"] (setboolopt "no-new-accounts") "don't allow creating new accounts"]
[generalflagsgroup2]
[]
confflags
([], Just $ argsFlag "[-f JOURNALFILE] [DATE [DESCRIPTION [ACCOUNT1 [ETC..]]]]]")
-- | State used while entering transactions.

View File

@ -32,7 +32,7 @@ commoditiesmode = hledgerCommandMode
,flagNone ["unused"] (setboolopt "unused") "list commodities declared but not used"
]
[generalflagsgroup2]
[]
confflags
([], Just $ argsFlag "[QUERY..]")
commodities :: CliOpts -> Journal -> IO ()

View File

@ -30,7 +30,7 @@ diffmode = hledgerCommandMode
$(embedFileRelative "Hledger/Cli/Commands/Diff.txt")
[]
[generalflagsgroup2]
[]
confflags
([], Just $ argsFlag "-f FILE1 -f FILE2 FULLACCOUNTTNAME")
data PostingWithPath = PostingWithPath {