diff options
author | John Wiegley <johnw@newartisans.com> | 2023-11-23 15:59:02 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2024-08-05 08:35:56 -0700 |
commit | 6e9fda06df1754f58c347e44a4579d059dfd36f0 (patch) | |
tree | df762273aa9f25246e06e229d7645c0aacf88718 /doc/ledger.1 | |
parent | b8d71b69e05aea46504f5c1a89fe0e16138f1057 (diff) | |
download | fork-ledger-6e9fda06df1754f58c347e44a4579d059dfd36f0.tar.gz fork-ledger-6e9fda06df1754f58c347e44a4579d059dfd36f0.tar.bz2 fork-ledger-6e9fda06df1754f58c347e44a4579d059dfd36f0.zip |
Add documentation for the --hashes option
Diffstat (limited to 'doc/ledger.1')
-rw-r--r-- | doc/ledger.1 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1 index f64be720..febfaf1e 100644 --- a/doc/ledger.1 +++ b/doc/ledger.1 @@ -1,4 +1,4 @@ -.Dd March 15, 2019 +.Dd November 23, 2023 .Dt LEDGER 1 .Os .Sh NAME @@ -634,6 +634,17 @@ Set the format for the headers that separate reports section of a grouped report. Only has effect with a .Fl \-group-by Ar EXPR register report. +.It Fl \-hashes Ar ALGO +Record the hash of each transaction in a +.Ar Hash +metadata value, according to the hashing algorithm given by the +.Ar ALGO +argument. Note that if a +.Ar Hash +metadata value is explicitly provided and does not match what would +have been generated, an error is reported. Hashes depend on previous +entries, such that setting a single hash value is sufficient to +guarantee the shape of the entire history leading up to that entry. .It Fl \-head Ar INT Print the first .Ar INT |