diff --git a/hledger/Hledger/Cli/Commands/Print.txt b/hledger/Hledger/Cli/Commands/Print.txt index 31324b002..bfb434ed2 100644 --- a/hledger/Hledger/Cli/Commands/Print.txt +++ b/hledger/Hledger/Cli/Commands/Print.txt @@ -75,10 +75,11 @@ output parseable. With -B/--cost, amounts with transaction prices are converted to cost using that price. This can be used for troubleshooting. -With -m/--match and a STR argument, print will show at most one -transaction: the one one whose description is most similar to STR, and -is most recent. STR should contain at least two characters. If there is -no similar-enough match, no transaction will be shown. +With -m DESC/--match=DESC, print does a fuzzy search for the one +transaction whose description is most similar to DESC, also preferring +recent tranactions. DESC should contain at least two characters. If +there is no similar-enough match, no transaction will be shown and the +program exit code will be non-zero. With --new, hledger prints only transactions it has not seen on a previous run. This uses the same deduplication system as the import